summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-18 10:29:14 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-18 10:29:14 +0200
commit11070f6c7abb80faa83d4117812aa4913fb61f7e (patch)
tree50851d535a64723c4021b004567b1ac1a5afaec6 /src/main/java
parent56771dd0f87b9a3d6ce689b5185222635158f64f (diff)
downloadOneConfigLoader-11070f6c7abb80faa83d4117812aa4913fb61f7e.tar.gz
OneConfigLoader-11070f6c7abb80faa83d4117812aa4913fb61f7e.tar.bz2
OneConfigLoader-11070f6c7abb80faa83d4117812aa4913fb61f7e.zip
formatting
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfigloader/OneConfigLoader.java8
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