mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Meh
This commit is contained in:
parent
34226a5568
commit
ab40ea726f
@ -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();
|
||||
}
|
||||
|
@ -39,6 +39,8 @@ public class DClass {
|
||||
}
|
||||
|
||||
public DClass(String name, FileConfiguration config) {
|
||||
this.name = name;
|
||||
|
||||
if (config.contains("items")) {
|
||||
items = ItemUtil.fromConfig(config);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user