diff --git a/src/main/java/land/chipmunk/chipmunkmod/Configuration.java b/src/main/java/land/chipmunk/chipmunkmod/Configuration.java index 433ec10..919fd8c 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/Configuration.java +++ b/src/main/java/land/chipmunk/chipmunkmod/Configuration.java @@ -10,6 +10,7 @@ public class Configuration { public CommandCore core = new CommandCore(); public Bots bots = new Bots(); public CustomChat customChat = new CustomChat(); + public boolean fullbright = true; // should this be false? public String autoSkinUsername = "off"; public static class CommandManager { diff --git a/src/main/java/land/chipmunk/chipmunkmod/modules/FullBright.java b/src/main/java/land/chipmunk/chipmunkmod/modules/FullBright.java index d9d2858..23eda1d 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/modules/FullBright.java +++ b/src/main/java/land/chipmunk/chipmunkmod/modules/FullBright.java @@ -1,8 +1,9 @@ package land.chipmunk.chipmunkmod.modules; +import land.chipmunk.chipmunkmod.ChipmunkMod; import lombok.Getter; import lombok.Setter; public class FullBright { - @Getter @Setter private static boolean enabled = true; + @Getter @Setter private static boolean enabled = ChipmunkMod.CONFIG.fullbright; } diff --git a/src/main/resources/assets/chipmunkmod/default_config.json b/src/main/resources/assets/chipmunkmod/default_config.json index e3811f1..40dd3d4 100644 --- a/src/main/resources/assets/chipmunkmod/default_config.json +++ b/src/main/resources/assets/chipmunkmod/default_config.json @@ -32,5 +32,7 @@ } }, + "fullbright": true, + "autoSkinUsername": "off" }