This commit is contained in:
Daniel Saukel 2016-05-15 14:15:30 +02:00
parent 34226a5568
commit ab40ea726f
2 changed files with 4 additions and 2 deletions

View File

@ -233,12 +233,12 @@ public class DungeonsXL extends BRPlugin {
ANNOUNCERS.mkdir();
}
CLASSES = new File(CLASSES, "classes");
CLASSES = new File(SCRIPTS, "classes");
if (!CLASSES.exists()) {
CLASSES.mkdir();
}
MOBS = new File(MOBS, "mobs");
MOBS = new File(SCRIPTS, "mobs");
if (!MOBS.exists()) {
MOBS.mkdir();
}

View File

@ -39,6 +39,8 @@ public class DClass {
}
public DClass(String name, FileConfiguration config) {
this.name = name;
if (config.contains("items")) {
items = ItemUtil.fromConfig(config);
}