From 9b976b7afe97598d7d479b15d39a5784b39db4f1 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 21 Jun 2014 22:44:25 -0400 Subject: [PATCH] Fix server side to write properly --- .../java/cpw/mods/fml/common/launcher/FMLServerTweaker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fml/src/main/java/cpw/mods/fml/common/launcher/FMLServerTweaker.java b/fml/src/main/java/cpw/mods/fml/common/launcher/FMLServerTweaker.java index 4544e8d64..2c2429624 100644 --- a/fml/src/main/java/cpw/mods/fml/common/launcher/FMLServerTweaker.java +++ b/fml/src/main/java/cpw/mods/fml/common/launcher/FMLServerTweaker.java @@ -13,7 +13,9 @@ public class FMLServerTweaker extends FMLTweaker { @Override public void injectIntoClassLoader(LaunchClassLoader classLoader) { - classLoader.addClassLoaderExclusion("com.mojang.util."); + // 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."); classLoader.addTransformerExclusion("cpw.mods.fml.repackage."); classLoader.addTransformerExclusion("cpw.mods.fml.relauncher."); classLoader.addTransformerExclusion("cpw.mods.fml.common.asm.transformers.");