aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/init')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/init/OneConfigInit.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/init/OneConfigInit.java b/src/main/java/cc/polyfrost/oneconfig/init/OneConfigInit.java
index 9c9595d..33b13d5 100644
--- a/src/main/java/cc/polyfrost/oneconfig/init/OneConfigInit.java
+++ b/src/main/java/cc/polyfrost/oneconfig/init/OneConfigInit.java
@@ -6,15 +6,13 @@ import org.spongepowered.asm.mixin.Mixins;
/**
* Initializes the OneConfig mod.
- * <p>MUST BE CALLED VIA AN ITWEAKER / FMLLOADINGPLUGIN FOR 1.12 AND BELOW, OR A PRELAUNCH TWEAKER FOR 1.14+ FABRIC.</p>
+ * <p><b>MUST BE CALLED VIA AN ITWEAKER / FMLLOADINGPLUGIN FOR 1.12 AND BELOW, OR A PRELAUNCH TWEAKER FOR 1.14+ FABRIC.</b></p>
*/
@SuppressWarnings("unused")
public class OneConfigInit {
public static void initialize(String[] args) {
- if (!Launch.blackboard.containsKey("oneconfig.initialized")) {
- Launch.blackboard.put("oneconfig.initialized", true);
- MixinBootstrap.init();
- Mixins.addConfiguration("mixins.oneconfig.json");
- }
+ Launch.blackboard.put("oneconfig.initialized", true);
+ MixinBootstrap.init();
+ Mixins.addConfiguration("mixins.oneconfig.json");
}
}