Fix crash in the SnowyConfigScreen
Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
b5332aa3c1
commit
3225340b57
@ -24,7 +24,6 @@ private fun supplyComponent(string: String?): Optional<Component> = string?.run
|
|||||||
val SnowyConfigScreen: Screen = object: Screen(translationComponent) {
|
val SnowyConfigScreen: Screen = object: Screen(translationComponent) {
|
||||||
override fun isPauseScreen(): Boolean = false
|
override fun isPauseScreen(): Boolean = false
|
||||||
override fun extractRenderState(guiGraphics: GuiGraphics, mouseX: Int, mouseY: Int, pTick: Float) {
|
override fun extractRenderState(guiGraphics: GuiGraphics, mouseX: Int, mouseY: Int, pTick: Float) {
|
||||||
super.extractBackground(guiGraphics, mouseX, mouseY, pTick)
|
|
||||||
FontUtil.drawScaled(guiGraphics,
|
FontUtil.drawScaled(guiGraphics,
|
||||||
text = "An appropriate version of the Cloth Config mod is required for the configuration of snowygui.", 16.0, 16.0,
|
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
|
color = Colors.WHITE, scaleFactor = 0.85F
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user