mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 06:28:52 +00:00
fix loading of surrendered towns in war
This commit is contained in:
1 parent
0b2dbbc473
commit
72d6e9e655
2 files changed
+4
-1
No files matched your search
@@ -105,7 +105,7 @@ public class WarData
|
||||
|
||||
war.setSide1Towns((ArrayList<String>) fileData.get("side1Towns"));
|
||||
war.setSide2Towns((ArrayList<String>) fileData.get("side2Towns"));
|
||||
|
||||
war.setSurrenderedTowns((ArrayList<String>) fileData.get("surrenderedTowns"));
|
||||
|
||||
if(fileData.get("lastRaidTimeSide1") != null && fileData.get("lastRaidTimeSide2") != null) {
|
||||
war.setLastRaidTimeSide1((int) fileData.get("lastRaidTimeSide1"));
|
||||
|
||||
Reference in new issue
Block a user