From af48b5c4c4c795f40a738b48f02ec0198a559210 Mon Sep 17 00:00:00 2001 From: hackthetime Date: Thu, 30 Nov 2023 09:26:42 +0100 Subject: added custom on numpad code (Default 0) as better breakpoint. --- fabric/src/main/java/de/hype/bbsentials/fabric/DebugThread.java | 4 ++++ forge/src/main/java/de/hype/bbsentials/forge/DebugThread.java | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fabric/src/main/java/de/hype/bbsentials/fabric/DebugThread.java b/fabric/src/main/java/de/hype/bbsentials/fabric/DebugThread.java index 6d5d8d3..e792ff9 100644 --- a/fabric/src/main/java/de/hype/bbsentials/fabric/DebugThread.java +++ b/fabric/src/main/java/de/hype/bbsentials/fabric/DebugThread.java @@ -13,6 +13,10 @@ public class DebugThread implements de.hype.bbsentials.common.client.DebugThread } } + public void onNumpadCode() { + + } + public void doOnce() { doTest = true; } diff --git a/forge/src/main/java/de/hype/bbsentials/forge/DebugThread.java b/forge/src/main/java/de/hype/bbsentials/forge/DebugThread.java index 111eff5..60d1469 100644 --- a/forge/src/main/java/de/hype/bbsentials/forge/DebugThread.java +++ b/forge/src/main/java/de/hype/bbsentials/forge/DebugThread.java @@ -1,5 +1,7 @@ package de.hype.bbsentials.forge; +import de.hype.bbsentials.forge.client.MoulConfigManager; + import java.util.Collections; import java.util.List; @@ -11,7 +13,7 @@ public class DebugThread implements de.hype.bbsentials.common.client.DebugThread @Override public List test() { - ForgeMod.config.openConfigGui(); + new MoulConfigManager().openConfigGui(); return Collections.singletonList(""); } } -- cgit