mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-23 21:49:46 +00:00
New Decompiler Runtime Official mappings ItemStacks arnt Capability providers anymore, use Vanilla's system. Co-authored-by: RealMangoRage <[email protected]> Co-authored-by: Paint_Ninja <[email protected]>
11 lines
455 B
Diff
11 lines
455 B
Diff
--- a/net/minecraft/SharedConstants.java
|
|
+++ b/net/minecraft/SharedConstants.java
|
|
@@ -181,6 +_,7 @@
|
|
}
|
|
|
|
static {
|
|
+ if (System.getProperty("io.netty.leakDetection.level") == null) // Forge: allow level to be manually specified
|
|
ResourceLeakDetector.setLevel(NETTY_LEAK_DETECTION);
|
|
CommandSyntaxException.ENABLE_COMMAND_STACK_TRACES = false;
|
|
CommandSyntaxException.BUILT_IN_EXCEPTIONS = new BrigadierExceptions();
|