mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-21 12:32:30 +00:00
Using the API the right way
This commit is contained in:
1 parent
8b55adf5b0
commit
0933e4d23d
130 files changed
+7
-9351
No files matched your search
@@ -25,8 +25,6 @@ public class Config {
|
||||
public static int voidEnchID;
|
||||
public static int impactEnchID;
|
||||
|
||||
public static int bloodSealPotionID = 70;
|
||||
|
||||
public static int hellfireUpgradeID;
|
||||
public static int pandemoniumUpgradeID;
|
||||
|
||||
@@ -48,7 +46,6 @@ public class Config {
|
||||
public static boolean crossMod = true;
|
||||
public static boolean crossWand = true;
|
||||
public static boolean botan = true;
|
||||
public static boolean bloodMagic = true;
|
||||
public static boolean am2 = false;
|
||||
public static boolean tt = true;
|
||||
public static boolean tc = true;
|
||||
@@ -96,12 +93,9 @@ public class Config {
|
||||
if(gluttony < 0 || gluttony > 2)
|
||||
gluttony = 0;
|
||||
|
||||
bloodSealPotionID = conf.get("potions", "Blood Seal", bloodSealPotionID).getInt(bloodSealPotionID);
|
||||
|
||||
crossMod = conf.get("compatibility", "Cross-Mod Interaction", crossMod, "Disable to keep mods segregated.").getBoolean(true);
|
||||
crossWand = conf.get("compatibility", "Conversion Wands", crossWand, "Disable to remove all conversion wands.").getBoolean(true);
|
||||
botan = conf.get("compatibility", "Botania Interaction", botan).getBoolean(true);
|
||||
bloodMagic = conf.get("compatibility", "Blood Magic Interaction", bloodMagic).getBoolean(true);
|
||||
am2 = conf.get("compatibility", "Ars Magica 2 Interaction", am2, "AM2 interaction is unsupported. Enable at your own risk.").getBoolean(false);
|
||||
tt = conf.get("compatibility", "Thaumic Tinkerer Interaction", tt).getBoolean(true);
|
||||
tc = conf.get("compatibility", "Tinkers Construct Interaction", tc).getBoolean(true);
|
||||
|
||||
Reference in new issue
Block a user