diff --git a/patches/minecraft/net/minecraft/util/ChatAllowedCharacters.java.patch b/patches/minecraft/net/minecraft/util/ChatAllowedCharacters.java.patch new file mode 100644 index 0000000000..3ae294d263 --- /dev/null +++ b/patches/minecraft/net/minecraft/util/ChatAllowedCharacters.java.patch @@ -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); + } + }