From d76cd79635b6b1922235f082e9513a4cab265dcc Mon Sep 17 00:00:00 2001 From: IzzelAliz Date: Tue, 2 May 2023 14:55:46 +0800 Subject: [PATCH] Update to 1.19.4 --- build.gradle | 6 +++--- .../lightfall/client/gui/LightfallHandshakeScreen.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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_);