added barracks list to city object

This commit is contained in:
2023-04-20 21:23:42 -05:00
parent aa8f59f6f7
commit cfe8d20d2b
9 changed files with 231 additions and 397 deletions
+1 -1
View File
@@ -1343,7 +1343,7 @@ public class Mob extends AbstractIntelligenceAgent {
}
public boolean canRespawn() {
return System.currentTimeMillis() > this.deathTime;
return System.currentTimeMillis() > this.deathTime + (spawnTime * 1000);
}
@Override