diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/gui/ClassicConfigGUI.java b/common/src/main/java/com/seibel/lod/common/wrappers/gui/ClassicConfigGUI.java index c9f557af6..3966b7574 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/gui/ClassicConfigGUI.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/gui/ClassicConfigGUI.java @@ -113,7 +113,7 @@ public abstract class ClassicConfigGUI { #if PRE_MC_1_19 ((EntryInfo) info.guiValue).error = ((ConfigEntry) info).isValid(value) == 0 ? null : new AbstractMap.SimpleEntry<>(editBox, new TextComponent(((ConfigEntry) info).isValid(value) == -1 ? #else - ((EntryInfo) info.guiValue).error = ((ConfigEntry) info).isValid(value) == 0 ? null : new AbstractMap.SimpleEntry<>(editBox, Component.translatable(((ConfigEntry) info).isValid(value) == -1 ? + ((EntryInfo) info.guiValue).error = ((ConfigEntry) info).isValidMemoryAddress(value) == 0 ? null : new AbstractMap.SimpleEntry<>(editBox, Component.translatable(((ConfigEntry) info).isValidMemoryAddress(value) == -1 ? #endif "§cMinimum " + "length" + (cast ? " is " + (int) ((ConfigEntry) info).getMin() : " is " + ((ConfigEntry) info).getMin()) : "§cMaximum " + "length" + (cast ? " is " + (int) ((ConfigEntry) info).getMax() : " is " + ((ConfigEntry) info).getMax()))); @@ -130,7 +130,7 @@ public abstract class ClassicConfigGUI { else ((ConfigEntry) info).setWithoutSaving(value.intValue()); } -// else if (((ConfigEntry) info).isValid() == 0) +// else if (((ConfigEntry) info).isValidMemoryAddress() == 0) // { // if (((List) info.get()).size() == ((EntryInfo) info.guiValue).index) // info.set(((List) info.get()).add("")); diff --git a/coreSubProjects b/coreSubProjects index 59d5b475c..fde9f6f12 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 59d5b475c5ec9208122aa7b3b6ccc03d88115b49 +Subproject commit fde9f6f129b5082e1d22688f94bda96ebea73294