diff --git a/build.gradle b/build.gradle index 1163f36..f7b94e4 100644 --- a/build.gradle +++ b/build.gradle @@ -14,13 +14,13 @@ apply plugin: 'net.minecraftforge.gradle' apply plugin: 'org.spongepowered.mixin' group = 'io.izzel.lightfall' -version = '1.1.1' +version = '1.1.2' archivesBaseName = 'lightfallclient' java.toolchain.languageVersion = JavaLanguageVersion.of(17) minecraft { - mappings channel: 'official', version: "1.19.3" + mappings channel: 'official', version: "1.19.4" runs { client { workingDirectory project.file('run') @@ -45,7 +45,7 @@ repositories { } dependencies { - minecraft 'net.minecraftforge:forge:1.19.3-44.0.5' + minecraft 'net.minecraftforge:forge:1.19.4-45.0.22' annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' } diff --git a/src/main/java/io/izzel/lightfall/client/gui/LightfallHandshakeScreen.java b/src/main/java/io/izzel/lightfall/client/gui/LightfallHandshakeScreen.java index bc06c51..1eb59ac 100644 --- a/src/main/java/io/izzel/lightfall/client/gui/LightfallHandshakeScreen.java +++ b/src/main/java/io/izzel/lightfall/client/gui/LightfallHandshakeScreen.java @@ -52,7 +52,7 @@ public void setComponent(Component component) { } public void render(@NotNull PoseStack poseStack, int p_96531_, int p_96532_, float p_96533_) { - this.renderDirtBackground(0); + this.renderDirtBackground(poseStack); drawCenteredString(poseStack, this.font, component != null ? component : Component.translatable("connect.connecting"), this.width / 2, this.height / 2 - 50, 16777215); super.render(poseStack, p_96531_, p_96532_, p_96533_);