|
|
|
@ -15,7 +15,7 @@ import engine.math.Vector3fImmutable;
@@ -15,7 +15,7 @@ import engine.math.Vector3fImmutable;
|
|
|
|
|
import engine.mbEnums; |
|
|
|
|
import engine.mbEnums.DispatchChannel; |
|
|
|
|
import engine.mobileAI.Threads.MobAIThread; |
|
|
|
|
import engine.mobileAI.Threads.Respawner; |
|
|
|
|
import engine.mobileAI.Threads.ReSpawner; |
|
|
|
|
import engine.mobileAI.utilities.MovementUtilities; |
|
|
|
|
import engine.net.DispatchMessage; |
|
|
|
|
import engine.net.client.msg.PerformActionMsg; |
|
|
|
@ -740,7 +740,7 @@ public class MobAI {
@@ -740,7 +740,7 @@ public class MobAI {
|
|
|
|
|
} |
|
|
|
|
} else if (System.currentTimeMillis() > aiAgent.deathTime + (aiAgent.spawnDelay * 1000L)) { |
|
|
|
|
aiAgent.respawnTime = aiAgent.deathTime + (aiAgent.spawnDelay * 1000L); |
|
|
|
|
Respawner.respawnQueue.put(aiAgent); |
|
|
|
|
ReSpawner.respawnQueue.put(aiAgent); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Logger.info(aiAgent.getObjectUUID() + " " + aiAgent.getName() + " Failed At: CheckForRespawn" + " " + e.getMessage()); |
|
|
|
|