Moved some Utility to Util Class

This commit is contained in:
Sn0wStorm
2019-08-18 15:42:22 +02:00
parent 9567feed81
commit 930d4a2028
9 changed files with 171 additions and 141 deletions
+2 -2
View File
@@ -181,7 +181,7 @@ public class BCauldron {
}
public static void save(ConfigurationSection config, ConfigurationSection oldData) {
P.p.createWorldSections(config);
Util.createWorldSections(config);
if (!bcauldrons.isEmpty()) {
int id = 0;
@@ -190,7 +190,7 @@ public class BCauldron {
String prefix;
if (worldName.startsWith("DXL_")) {
prefix = P.p.getDxlName(worldName) + "." + id;
prefix = Util.getDxlName(worldName) + "." + id;
} else {
prefix = cauldron.block.getWorld().getUID().toString() + "." + id;
}