Fix the text displayed when cloth config is not present

This commit is contained in:
Username404 2021-05-29 22:39:30 +02:00
parent c69fd56838
commit 8c768fadef
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ val SnowyConfigScreen: Screen get() {
override fun render(poseStack: PoseStack?, i: Int, j: Int, f: Float) {
super.renderBackground(poseStack)
FontUtil.drawScaled(poseStack!!,
text = "Cloth Config is required for the configuration of snowygui, please install it.", 50.0, 50.0,
color = Colors.WHITE, scaleFactor = 1.85F
text = "An appropriate version of the Cloth Config mod is required for the configuration of snowygui.", 16.0, 16.0,
color = Colors.WHITE, scaleFactor = 0.85F
)
}
override fun onClose() { minecraft?.screen = configScreenParent }