From 8eb4afef686b7f87955810f95da288d646c647d1 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Wed, 18 Oct 2023 22:04:24 -0500 Subject: [PATCH] temporarily comment out GL message building the message generation was changed in MC 1.20.2 and needs to be changed. However for a release build it isn't necessary. --- .../seibel/distanthorizons/core/util/objects/GLMessage.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/util/objects/GLMessage.java b/core/src/main/java/com/seibel/distanthorizons/core/util/objects/GLMessage.java index 238e72fa9..eb21117fe 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/util/objects/GLMessage.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/util/objects/GLMessage.java @@ -269,6 +269,11 @@ public final class GLMessage */ public GLMessage add(String str) { + // TODO fix implementation for MC 1.20.2 and newer + // please see the incomplete GLMessageTest for an example as to how the message formats differ + if (true) + return null; + str = str.trim(); if (str.isEmpty()) return null;