respawnQue and corpse loading

This commit is contained in:
FatBoy committed 2023-07-27 20:32:09 -05:00
1 parent 6a4ae0af31
commit ff281cc20b
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -342,7 +342,7 @@ public class MobileFSM {
public static void DetermineAction(Mob mob) {
//always check the respawn que, respawn 1 mob max per second to not flood the client
if(respawnQue.size() > 0 && lastRespawn + 1000 > System.currentTimeMillis()){
if(respawnQue.size() > 0 && lastRespawn + 100 < System.currentTimeMillis()){
respawnQue.get(0).respawn();
respawnQue.remove(0);
lastRespawn = System.currentTimeMillis();