From 9dd76db3fc16560dadf9ea2f11b74025fc10da53 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Wed, 10 Jul 2024 07:37:18 -0500 Subject: [PATCH] Fix generic rendering at extreme distances --- .../distanthorizons/common/wrappers/gui/ClassicConfigGUI.java | 2 ++ coreSubProjects | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java index ffb8d9412..f3543fba2 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/ClassicConfigGUI.java @@ -443,7 +443,9 @@ public class ClassicConfigGUI String key = translationPrefix + (newInfo.category.isEmpty() ? "" : newInfo.category + ".") + newInfo.getName() + ".@tooltip"; if (((EntryInfo) newInfo.guiValue).error != null && text.equals(name)) + { DhRenderTooltip(matrices, font, ((EntryInfo) newInfo.guiValue).error.getValue(), mouseX, mouseY); + } else if (I18n.exists(key) && (text != null && text.equals(name))) { List list = new ArrayList<>(); diff --git a/coreSubProjects b/coreSubProjects index 066b23c78..4b27f39a0 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 066b23c7856b3f1a72792c8d8c65b8ca073b4dba +Subproject commit 4b27f39a04578977b27576126e7ca4c8bcaaa9d4