diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java b/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java index 4d1f988..0ec6268 100644 --- a/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java +++ b/src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java @@ -202,16 +202,12 @@ public class OneConfigLoader implements ITweaker { @Override public void acceptOptions(List<String> args, File gameDir, File assetsDir, String profile) { - if (transformer != null) { - transformer.acceptOptions(args, gameDir, assetsDir, profile); - } + if (transformer != null) transformer.acceptOptions(args, gameDir, assetsDir, profile); } @Override public void injectIntoClassLoader(LaunchClassLoader classLoader) { - if (transformer != null) { - transformer.injectIntoClassLoader(classLoader); - } + if (transformer != null) transformer.injectIntoClassLoader(classLoader); } @Override |