diff options
author | SHsuperCM <shsupercm@gmail.com> | 2021-09-11 19:23:20 +0300 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2021-09-11 19:23:20 +0300 |
commit | 4fb9c09fb4f5178a85b37915524b2836fe059a6a (patch) | |
tree | 456ca8b3992fc66e9ea68f358ce64bb737e48ab4 /src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java | |
parent | e3fde8f10eb6d6d73ba2c8072f845ca03ee1c0e6 (diff) | |
download | CITResewn-4fb9c09fb4f5178a85b37915524b2836fe059a6a.tar.gz CITResewn-4fb9c09fb4f5178a85b37915524b2836fe059a6a.tar.bz2 CITResewn-4fb9c09fb4f5178a85b37915524b2836fe059a6a.zip |
v0.5.2, Added support for Cosmetic Armor 1.1.0
Closes #17
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java')
-rw-r--r-- | src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java b/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java index d96de20..bb99d49 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/CITResewn.java @@ -3,6 +3,7 @@ package shcm.shsupercm.fabric.citresewn; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; +import net.fabricmc.loader.api.FabricLoader; import org.apache.logging.log4j.Level; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; @@ -17,6 +18,8 @@ public class CITResewn implements ClientModInitializer { public CITResewnConfig config = null; + public OptionalCompat compat = null; + public boolean processingBrokenPaths = false; @@ -25,6 +28,8 @@ public class CITResewn implements ClientModInitializer { INSTANCE = this; config = CITResewnConfig.read(); + + compat = new OptionalCompat(s -> FabricLoader.getInstance().isModLoaded(s)); } public static void info(String message) { |