Mobile implements Delayed interface

This commit is contained in:
2023-10-23 00:07:48 -04:00
parent 7b70b680f0
commit 8bd406bcf4
5 changed files with 38 additions and 22 deletions
+1 -1
View File
@@ -813,7 +813,7 @@ public class MobAI {
}
}
}
} else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnTime * 1000))) {
} else if (System.currentTimeMillis() > (aiAgent.deathTime + (aiAgent.spawnDelay * 1000))) {
if (Zone.respawnQue.contains(aiAgent) == false) {
Zone.respawnQue.add(aiAgent);