More configs!

This commit is contained in:
modmuss50 2017-06-12 20:38:43 +01:00
parent b7e141e004
commit 50bb4ea7a9
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA

View file

@ -66,9 +66,11 @@ public class ConfigTechReborn {
@ConfigRegistry(config = "recipes", category = "ic2", key = "deduplicate", comment = "Changes a lot of reipes and hides blocks to intrgrade TechReborn into IC2") @ConfigRegistry(config = "recipes", category = "ic2", key = "deduplicate", comment = "Changes a lot of reipes and hides blocks to intrgrade TechReborn into IC2")
public static boolean REMOVE_DUPLICATES = false; public static boolean REMOVE_DUPLICATES = false;
// Client // Client
public static boolean ShowChargeHud; @ConfigRegistry(config = "client", category = "hud", key = "showChargeHud", comment = "Show the charge hud")
public static boolean ShowChargeHud = true;
public static boolean enableGemArmorAndTools; @ConfigRegistry(config = "misc", category = "general", key = "enableGemTools", comment = "Enable Gem armor and tools")
public static boolean enableGemArmorAndTools = true;
public static Configuration config; public static Configuration config;
private static ConfigTechReborn instance = null; private static ConfigTechReborn instance = null;
@ -165,12 +167,6 @@ public class ConfigTechReborn {
"Set the max charge for the ThermalGenerator").getInt(); "Set the max charge for the ThermalGenerator").getInt();
enableGemArmorAndTools = config.get(CATEGORY_FEATURES, "Gem tools and armor", true, "Should the gem tools and armor be added to the game").getBoolean(true);
ShowChargeHud = config.get(CATEGORY_POWER, "Show Charge hud", true, "Show Charge hud (ClientSideOnly)")
.getBoolean(true);
if (config.hasChanged()) { if (config.hasChanged()) {
config.save(); config.save();
} }