diff --git a/src/main/java/link/locutus/discord/db/WarDB.java b/src/main/java/link/locutus/discord/db/WarDB.java index 584216a2..574c29c3 100644 --- a/src/main/java/link/locutus/discord/db/WarDB.java +++ b/src/main/java/link/locutus/discord/db/WarDB.java @@ -1869,7 +1869,8 @@ public boolean updateWars(List dbWars, Collection expectedIds, C for (DBWar war : dbWars) { DBWar existing = warsById.get(war); - if ((existing == null && !war.isActive()) || (existing != null && (war.getStatus() == existing.getStatus() || !existing.isActive()))) continue; + if ((existing == null && !war.isActive()) || (existing != null && (war.getStatus() == existing.getStatus() || + (!existing.isActive() && (existing.getStatus() != WarStatus.EXPIRED || existing.getTurnsLeft() <= 0))))) continue; prevWars.add(existing == null ? null : new DBWar(existing)); newWars.add(war);