mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-23 18:55:25 +01:00
Init built-in factions after loading from disk
This commit is contained in:
parent
7e6aa4fc25
commit
a943f47abb
@ -66,12 +66,13 @@ public class JSONFactions extends MemoryFactions {
|
||||
}
|
||||
|
||||
public void load() {
|
||||
super.load();
|
||||
Map<String, JSONFaction> factions = this.loadCore();
|
||||
if (factions == null) {
|
||||
return;
|
||||
}
|
||||
this.factions.putAll(factions);
|
||||
|
||||
super.load();
|
||||
P.p.log("Loaded " + factions.size() + " Factions");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user