|
|
@ -8,6 +8,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package engine.mobileAI.Threads; |
|
|
|
package engine.mobileAI.Threads; |
|
|
|
|
|
|
|
import engine.InterestManagement.InterestManager; |
|
|
|
|
|
|
|
import engine.InterestManagement.WorldGrid; |
|
|
|
import engine.gameManager.ZoneManager; |
|
|
|
import engine.gameManager.ZoneManager; |
|
|
|
import engine.objects.Mob; |
|
|
|
import engine.objects.Mob; |
|
|
|
import engine.objects.Zone; |
|
|
|
import engine.objects.Zone; |
|
|
@ -49,6 +51,8 @@ public class MobRespawnThread implements Runnable { |
|
|
|
respawner.respawn(); |
|
|
|
respawner.respawn(); |
|
|
|
zone.respawnQue.remove(respawner); |
|
|
|
zone.respawnQue.remove(respawner); |
|
|
|
zone.lastRespawn = System.currentTimeMillis(); |
|
|
|
zone.lastRespawn = System.currentTimeMillis(); |
|
|
|
|
|
|
|
WorldGrid.updateObject(respawner); |
|
|
|
|
|
|
|
InterestManager.setObjectDirty(respawner); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|