forked from MagicBane/Server
hotzone work
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user