mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Allow network leak detection level to be specified (#5067)
This commit is contained in:
1 parent
222a110eb1
commit
f1dfb80931
1 file changed
+10
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user