diff options
author | hackthetime <l4bg0jb7@duck.com> | 2023-11-30 09:26:42 +0100 |
---|---|---|
committer | hackthetime <l4bg0jb7@duck.com> | 2023-11-30 09:26:42 +0100 |
commit | af48b5c4c4c795f40a738b48f02ec0198a559210 (patch) | |
tree | f80e219a3eb7fa9d5431e01d884294e054572c2a | |
parent | 83c578173ca2608d194dda02e52952970afdfb52 (diff) | |
download | BBsentials-af48b5c4c4c795f40a738b48f02ec0198a559210.tar.gz BBsentials-af48b5c4c4c795f40a738b48f02ec0198a559210.tar.bz2 BBsentials-af48b5c4c4c795f40a738b48f02ec0198a559210.zip |
added custom on numpad code (Default 0) as better breakpoint.
-rw-r--r-- | fabric/src/main/java/de/hype/bbsentials/fabric/DebugThread.java | 4 | ||||
-rw-r--r-- | forge/src/main/java/de/hype/bbsentials/forge/DebugThread.java | 4 |
2 files changed, 7 insertions, 1 deletions
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<String> test() { - ForgeMod.config.openConfigGui(); + new MoulConfigManager().openConfigGui(); return Collections.singletonList(""); } } |