Make the poseStack argument in ConfigScreen.kt not null
This commit is contained in:
parent
7355635daa
commit
b4d64b0d96
|
@ -96,9 +96,9 @@ val SnowyConfigScreen: Screen get() {
|
|||
} catch (e: ClassNotFoundException) {
|
||||
object: Screen(translationComponent) {
|
||||
override fun isPauseScreen(): Boolean = false
|
||||
override fun render(poseStack: PoseStack?, i: Int, j: Int, f: Float) {
|
||||
override fun render(poseStack: PoseStack, i: Int, j: Int, f: Float) {
|
||||
super.renderBackground(poseStack)
|
||||
FontUtil.drawScaled(poseStack!!,
|
||||
FontUtil.drawScaled(poseStack,
|
||||
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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue