mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 00:19:05 +00:00
BUG FIX #TRICKY
This commit is contained in:
1 parent
0d9403bcac
commit
19f0cc16b2
2 files changed
+4
-1
No files matched your search
@@ -36,6 +36,8 @@ public class AnimationController implements IAnimationHandler {
|
||||
}
|
||||
|
||||
public void load(){
|
||||
bootOrder = new HashMap<>();
|
||||
animations = new HashMap<>();
|
||||
LogWriter.info("Loading animations...");
|
||||
readAnimationMap();
|
||||
loadAnimations();
|
||||
|
||||
@@ -41,7 +41,8 @@ public class FactionController implements IFactionHandler {
|
||||
}
|
||||
|
||||
public void load(){
|
||||
|
||||
factions = new HashMap<Integer, Faction>();
|
||||
lastUsedID = 0;
|
||||
File saveDir = CustomNpcs.getWorldSaveDirectory();
|
||||
if(saveDir == null){
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user