diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-18 10:29:14 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-18 10:29:14 +0200 |
commit | 11070f6c7abb80faa83d4117812aa4913fb61f7e (patch) | |
tree | 50851d535a64723c4021b004567b1ac1a5afaec6 | |
parent | 56771dd0f87b9a3d6ce689b5185222635158f64f (diff) | |
download | OneConfigLoader-11070f6c7abb80faa83d4117812aa4913fb61f7e.tar.gz OneConfigLoader-11070f6c7abb80faa83d4117812aa4913fb61f7e.tar.bz2 OneConfigLoader-11070f6c7abb80faa83d4117812aa4913fb61f7e.zip |
formatting
-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 |