2424import io .github .impactdevelopment .simpletweaker .transform .SimpleTransformer ;
2525import net .minecraft .launchwrapper .Launch ;
2626import net .minecraft .launchwrapper .LaunchClassLoader ;
27- import org .apache .logging .log4j .Level ;
2827import org .spongepowered .asm .launch .MixinBootstrap ;
2928import org .spongepowered .asm .mixin .MixinEnvironment ;
3029import org .spongepowered .asm .mixin .Mixins ;
@@ -45,7 +44,7 @@ public final class ClientTweaker extends SimpleTweaker {
4544 public void injectIntoClassLoader (LaunchClassLoader classLoader ) {
4645 super .injectIntoClassLoader (classLoader );
4746
48- ClientAPI .LOGGER .log ( Level . INFO , "Injecting into ClassLoader" );
47+ ClientAPI .LOGGER .info ( "Injecting into ClassLoader" );
4948
5049 this .setupMixin ();
5150
@@ -60,7 +59,7 @@ public void injectIntoClassLoader(LaunchClassLoader classLoader) {
6059 for (String mixin : config .getMixins ())
6160 loadMixinConfig (mixin );
6261
63- ClientAPI .LOGGER .log ( Level . INFO , "Loaded Mixin Configurations" );
62+ ClientAPI .LOGGER .info ( "Loaded Mixin Configurations" );
6463 }
6564
6665 @ Override
@@ -71,7 +70,7 @@ public final String getLaunchTarget() {
7170 @ SuppressWarnings ("unchecked" )
7271 private void setupMixin () {
7372 MixinBootstrap .init ();
74- ClientAPI .LOGGER .log ( Level . INFO , "Initialized Mixin bootstrap" );
73+ ClientAPI .LOGGER .info ( "Initialized Mixin bootstrap" );
7574
7675 // Find all of the other tweakers that are being loaded
7776 List <String > tweakClasses = (List <String >) Launch .blackboard .get ("TweakClasses" );
@@ -82,12 +81,12 @@ private void setupMixin() {
8281 // If there are any tweak classes that contain "FMLTweaker", then set the obfuscation context to SEARGE
8382 if (tweakClasses .stream ().anyMatch (s -> s .contains ("FMLTweaker" ))) {
8483 obfuscation = ObfuscationServiceMCP .SEARGE ;
85- ClientAPI .LOGGER .log ( Level . INFO , "Discovered FML! Switching to SEARGE mappings." );
84+ ClientAPI .LOGGER .info ( "Discovered FML! Switching to SEARGE mappings." );
8685 }
8786
8887 MixinEnvironment .getDefaultEnvironment ().setSide (MixinEnvironment .Side .CLIENT );
8988 MixinEnvironment .getDefaultEnvironment ().setObfuscationContext (obfuscation );
90- ClientAPI .LOGGER .log ( Level . INFO , "Setup Mixin Environment" );
89+ ClientAPI .LOGGER .info ( "Setup Mixin Environment" );
9190 }
9291
9392 private void setupTransformers (ClientConfiguration config ) {
@@ -98,7 +97,7 @@ private void setupTransformers(ClientConfiguration config) {
9897
9998 transformer .registerAll (config .getTransformers ());
10099
101- ClientAPI .LOGGER .log ( Level . INFO , "Registered Bytecode Transformes" );
100+ ClientAPI .LOGGER .info ( "Registered Bytecode Transformes" );
102101 }
103102
104103 private ClientConfiguration findClientConfig () {
0 commit comments