package reborncore.mixin.implementations.asmInjector;

import javassist.ByteArrayClassPath;
import javassist.LoaderClassPath;
import reborncore.mixin.MixinManager;
import reborncore.mixin.implementations.prebaker.MixinPrebaker;
import reborncore.mixin.transformer.MixinTransformer;

/**
 * Used by asm injector to load mixins into a jar at build time
 */
public class ASMInjectorSetupClass {

	static {
		MixinManager.logger = System.out::println;
	}

	public static void main() {
		MixinManager.logger = System.out::println;
		MixinManager.logger.log("Loading mixin manager");
		MixinManager.logger.log("Using dummy remapper");
		MixinManager.mixinRemaper = new MixinPrebaker.DummyRemapper();
		MixinManager.load();
	}
	public static void setClassLoader(ClassLoader classLoader) {
		MixinManager.logger = System.out::println;
		MixinManager.logger.log("Setting class loader");
		MixinTransformer.cp.appendClassPath(new LoaderClassPath(classLoader));
	}

	public static void loadClass(String name, byte[] bytes) {
		MixinTransformer.cp.insertClassPath(new ByteArrayClassPath(name, bytes));
		MixinTransformer.preLoadedClasses.add(name);
	}

}

@@ -390,67 +390,8 @@
  %7B%0A%0A
-%09static %7B%0A%09%09MixinManager.logger = System.out::println;%0A%09%7D%0A%0A
 %09pub
@@ -712,24 +712,64 @@
 ssLoader) %7B%0A
+%09%09System.out.println(%22Setting logger%22);%0A
 %09%09MixinManag

Add some debug code to try and track the issue down