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() {
|
public void load() {
|
||||||
super.load();
|
|
||||||
Map<String, JSONFaction> factions = this.loadCore();
|
Map<String, JSONFaction> factions = this.loadCore();
|
||||||
if (factions == null) {
|
if (factions == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.factions.putAll(factions);
|
this.factions.putAll(factions);
|
||||||
|
|
||||||
|
super.load();
|
||||||
P.p.log("Loaded " + factions.size() + " Factions");
|
P.p.log("Loaded " + factions.size() + " Factions");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user