mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 19:59:42 +00:00
Co-authored-by: sciwhiz12 <[email protected]> Co-authored-by: Marc Hermans <[email protected]> Co-authored-by: LexManos <[email protected]> Co-authored-by: Curle <[email protected]> Signed-off-by: SizableShrimp <[email protected]>
11 lines
434 B
Diff
11 lines
434 B
Diff
--- a/net/minecraft/SharedConstants.java
|
|
+++ b/net/minecraft/SharedConstants.java
|
|
@@ -183,6 +_,7 @@
|
|
}
|
|
|
|
static {
|
|
+ if (System.getProperty("io.netty.leakDetection.level") == null) // Forge: allow level to be manually specified
|
|
ResourceLeakDetector.setLevel(f_136180_);
|
|
CommandSyntaxException.ENABLE_COMMAND_STACK_TRACES = false;
|
|
CommandSyntaxException.BUILT_IN_EXCEPTIONS = new BrigadierExceptions();
|