finally make fullbright configurable

This commit is contained in:
Chayapak 2023-05-28 19:06:01 +07:00
parent ef1d0f4970
commit 905f8e568c
3 changed files with 5 additions and 1 deletions

View file

@ -10,6 +10,7 @@ public class Configuration {
public CommandCore core = new CommandCore(); public CommandCore core = new CommandCore();
public Bots bots = new Bots(); public Bots bots = new Bots();
public CustomChat customChat = new CustomChat(); public CustomChat customChat = new CustomChat();
public boolean fullbright = true; // should this be false?
public String autoSkinUsername = "off"; public String autoSkinUsername = "off";
public static class CommandManager { public static class CommandManager {

View file

@ -1,8 +1,9 @@
package land.chipmunk.chipmunkmod.modules; package land.chipmunk.chipmunkmod.modules;
import land.chipmunk.chipmunkmod.ChipmunkMod;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
public class FullBright { public class FullBright {
@Getter @Setter private static boolean enabled = true; @Getter @Setter private static boolean enabled = ChipmunkMod.CONFIG.fullbright;
} }

View file

@ -32,5 +32,7 @@
} }
}, },
"fullbright": true,
"autoSkinUsername": "off" "autoSkinUsername": "off"
} }