From a6a321ff0e339ebde784ce9fabffd64c14779a3d Mon Sep 17 00:00:00 2001 From: tom lee Date: Thu, 10 Feb 2022 17:06:25 +0800 Subject: [PATCH] Updated core + Fixed debug buttons --- .../common/wrappers/config/LodConfigWrapperSingleton.java | 6 +++--- core | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/seibel/lod/common/wrappers/config/LodConfigWrapperSingleton.java b/common/src/main/java/com/seibel/lod/common/wrappers/config/LodConfigWrapperSingleton.java index 2c47c5788..67a34eb6e 100644 --- a/common/src/main/java/com/seibel/lod/common/wrappers/config/LodConfigWrapperSingleton.java +++ b/common/src/main/java/com/seibel/lod/common/wrappers/config/LodConfigWrapperSingleton.java @@ -475,7 +475,7 @@ public class LodConfigWrapperSingleton implements ILodConfigWrapperSingleton @Override public boolean getDrawLods() { - return Config.Client.Advanced.Debugging.drawLods; + return (boolean) ConfigGui.editSingleOption.getEntry("client.advanced.debugging.drawLods").value; } @Override public void setDrawLods(boolean newDrawLods) @@ -488,7 +488,7 @@ public class LodConfigWrapperSingleton implements ILodConfigWrapperSingleton @Override public DebugMode getDebugMode() { - return Config.Client.Advanced.Debugging.debugMode; + return (DebugMode) ConfigGui.editSingleOption.getEntry("client.advanced.debugging.debugMode").value; } @Override public void setDebugMode(DebugMode newDebugMode) @@ -501,7 +501,7 @@ public class LodConfigWrapperSingleton implements ILodConfigWrapperSingleton @Override public boolean getDebugKeybindingsEnabled() { - return Config.Client.Advanced.Debugging.enableDebugKeybindings; + return (boolean) ConfigGui.editSingleOption.getEntry("client.advanced.debugging.enableDebugKeybindings").value; } @Override public void setDebugKeybindingsEnabled(boolean newEnableDebugKeybindings) diff --git a/core b/core index 40a8f228a..d8c082ba4 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 40a8f228ac5531e9e14e78a4a8e1321baae1d5f2 +Subproject commit d8c082ba4230ef9877c3e36b6aa5ade18aa73b70