mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-25 03:55:22 +01:00
Meh
This commit is contained in:
parent
34226a5568
commit
ab40ea726f
@ -233,12 +233,12 @@ public class DungeonsXL extends BRPlugin {
|
|||||||
ANNOUNCERS.mkdir();
|
ANNOUNCERS.mkdir();
|
||||||
}
|
}
|
||||||
|
|
||||||
CLASSES = new File(CLASSES, "classes");
|
CLASSES = new File(SCRIPTS, "classes");
|
||||||
if (!CLASSES.exists()) {
|
if (!CLASSES.exists()) {
|
||||||
CLASSES.mkdir();
|
CLASSES.mkdir();
|
||||||
}
|
}
|
||||||
|
|
||||||
MOBS = new File(MOBS, "mobs");
|
MOBS = new File(SCRIPTS, "mobs");
|
||||||
if (!MOBS.exists()) {
|
if (!MOBS.exists()) {
|
||||||
MOBS.mkdir();
|
MOBS.mkdir();
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,8 @@ public class DClass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public DClass(String name, FileConfiguration config) {
|
public DClass(String name, FileConfiguration config) {
|
||||||
|
this.name = name;
|
||||||
|
|
||||||
if (config.contains("items")) {
|
if (config.contains("items")) {
|
||||||
items = ItemUtil.fromConfig(config);
|
items = ItemUtil.fromConfig(config);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user