Allow network leak detection level to be specified (#5067)
This commit is contained in:
parent
222a110eb1
commit
f1dfb80931
1 changed files with 10 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
--- ../src-base/minecraft/net/minecraft/util/ChatAllowedCharacters.java
|
||||
+++ ../src-work/minecraft/net/minecraft/util/ChatAllowedCharacters.java
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
static
|
||||
{
|
||||
+ if (System.getProperty("io.netty.leakDetection.level") == null) // Forge: allow level to be manually specified
|
||||
ResourceLeakDetector.setLevel(field_184877_a);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue