Implemented Custom Model Data

issue #246
This commit is contained in:
Sn0wStorm
2020-04-12 22:21:17 +02:00
parent ef868fc7eb
commit 8f7696cdb5
14 changed files with 172 additions and 19 deletions
+2 -1
View File
@@ -58,7 +58,7 @@ public class BConfig {
// Barrel
public static boolean openEverywhere;
public static boolean loadDataAsync = true;
public static boolean loadDataAsync;
// Cauldron
public static boolean useOffhandForCauldron;
@@ -242,6 +242,7 @@ public class BConfig {
openEverywhere = config.getBoolean("openLargeBarrelEverywhere", false);
MCBarrel.maxBrews = config.getInt("maxBrewsInMCBarrels", 6);
useOffhandForCauldron = config.getBoolean("useOffhandForCauldron", false);
loadDataAsync = config.getBoolean("loadDataAsync", true);
Brew.loadSeed(config, new File(P.p.getDataFolder(), "config.yml"));