mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 15:56:02 +00:00
Merge pull request #591 from Minecrell/patch-1
Exclude only log4j2 queue from class loader
This commit is contained in:
commit
9a2c4998ae
1 file changed
+3
-3
@@ -13,9 +13,9 @@ public class FMLServerTweaker extends FMLTweaker {
|
||||
@Override
|
||||
public void injectIntoClassLoader(LaunchClassLoader classLoader)
|
||||
{
|
||||
// The mojang packages are excluded so the log4j2 queue is correctly visible from
|
||||
// the obfuscated and deobfuscated parts of the code. Without, the UI won't show anything
|
||||
classLoader.addClassLoaderExclusion("com.mojang.");
|
||||
// The log4j2 queue is excluded so it is correctly visible from the obfuscated
|
||||
// and deobfuscated parts of the code. Without, the UI won't show anything
|
||||
classLoader.addClassLoaderExclusion("com.mojang.util.QueueLogAppender");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.repackage.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.relauncher.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.common.asm.transformers.");
|
||||
|
||||
Reference in new issue
Block a user