diff options
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java | 7 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java index 9b7db7584..9de854ba3 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/dev/DebugConfig.java @@ -98,7 +98,12 @@ public class DebugConfig { public boolean eventCounter = false; @Expose - @ConfigOption(name = "Bypass Advanced Tab List", desc = "The Advaced Player Tab list is disabled whie pressing this hotkey.") + @ConfigOption(name = "Bypass Advanced Tab List", desc = "The Advanced Player Tab list is disabled whie pressing this hotkey.") @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE) public int bypassAdvancedPlayerTabList = Keyboard.KEY_NONE; + + @Expose + @ConfigOption(name = "SkyBlock Area", desc = "Show your current area in SkyBlock while f3 is open.") + @ConfigEditorBoolean + public boolean currentAreaDebug = true; } diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt index ccb6b198e..c7a73afcc 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt @@ -426,7 +426,7 @@ class SkyHanniDebugsAndTests { @SubscribeEvent fun onRenderLocation(event: GuiRenderEvent.GuiOverlayRenderEvent) { - if (LorenzUtils.inSkyBlock && Minecraft.getMinecraft().gameSettings.showDebugInfo) { + if (LorenzUtils.inSkyBlock && Minecraft.getMinecraft().gameSettings.showDebugInfo && debugConfig.currentAreaDebug) { config.debugLocationPos.renderString( "Current Area: ${HypixelData.skyBlockArea}", posLabel = "SkyBlock Area (Debug)" |