From 07f57b7c5af471c42498e8eb554e3d4a5b72b677 Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Mon, 26 Dec 2022 00:51:38 -0800 Subject: [PATCH] Update #2 - Fixed crash when sleeping in a bed --- client_version | 2 +- .../minecraft/net/minecraft/client/gui/GuiChat.edit.java | 6 ++++-- .../net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/client_version b/client_version index 3ef258d..be76e85 100644 --- a/client_version +++ b/client_version @@ -1 +1 @@ -u1 \ No newline at end of file +u2 \ No newline at end of file diff --git a/patches/minecraft/net/minecraft/client/gui/GuiChat.edit.java b/patches/minecraft/net/minecraft/client/gui/GuiChat.edit.java index 424b328..681dbc8 100644 --- a/patches/minecraft/net/minecraft/client/gui/GuiChat.edit.java +++ b/patches/minecraft/net/minecraft/client/gui/GuiChat.edit.java @@ -59,9 +59,11 @@ + GlStateManager.color(1.0f, 1.0f, 1.0f, 1.0f); -> INSERT 226 : 228 @ 213 +> INSERT 226 : 230 @ 213 -+ exitButton.yPosition = 3 + mc.guiAchievement.getHeight(); ++ if (exitButton != null) { ++ exitButton.yPosition = 3 + mc.guiAchievement.getHeight(); ++ } + > EOF diff --git a/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java b/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java index 10261db..d75bcee 100644 --- a/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java +++ b/sources/main/java/net/lax1dude/eaglercraft/v1_8/EaglercraftVersion.java @@ -8,7 +8,7 @@ public class EaglercraftVersion { /// Customize these to fit your fork: public static final String projectForkName = "EaglercraftX"; - public static final String projectForkVersion = "u1"; + public static final String projectForkVersion = "u2"; public static final String projectForkVendor = "lax1dude"; public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; @@ -23,7 +23,7 @@ public class EaglercraftVersion { public static final String projectOriginName = "EaglercraftX"; public static final String projectOriginAuthor = "lax1dude"; public static final String projectOriginRevision = "1.8"; - public static final String projectOriginVersion = "u1"; + public static final String projectOriginVersion = "u2"; public static final String projectOriginURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8";