hotzone work

This commit is contained in:
2025-03-19 19:33:26 -05:00
parent f57f300716
commit 536d35bb49
@@ -190,14 +190,6 @@ public class HotzoneManager {
public static void ClearHotzone(){
ZoneManager.hotZone = null;
HotzoneManager.playersPresent.clear();
if(hotzoneMob != null){
hotzoneMob.killCharacter("Hotzone Over");
hotzoneMob.despawn();
hotzoneMob.spawnTime = 1000000000;
DbManager.MobQueries.DELETE_MOB( hotzoneMob);
hotzoneMob = null;
}
for(PlayerCharacter player : SessionManager.getAllActivePlayerCharacters()) {
HotzoneChangeMsg hcm = new HotzoneChangeMsg(Enum.GameObjectType.Zone.ordinal(), 0);
Dispatch dispatch = Dispatch.borrow(player, hcm);