hard cap 3 box limit
This commit is contained in:
@@ -15,6 +15,7 @@ import engine.Enum.DispatchChannel;
|
||||
import engine.Enum.MinionType;
|
||||
import engine.Enum.SupportMsgType;
|
||||
import engine.InterestManagement.HeightMap;
|
||||
import engine.InterestManagement.InterestManager;
|
||||
import engine.InterestManagement.RealmMap;
|
||||
import engine.InterestManagement.WorldGrid;
|
||||
import engine.db.archive.DataWarehouse;
|
||||
@@ -710,7 +711,11 @@ public class WorldServer {
|
||||
}
|
||||
player.getTimestamps().put("logout", System.currentTimeMillis());
|
||||
player.setEnteredWorld(false);
|
||||
|
||||
if(InterestManager.playersByMachine.containsKey(player.getClientConnection().machineID)){
|
||||
if(InterestManager.playersByMachine.get(player.getClientConnection().machineID).contains(player)){
|
||||
InterestManager.playersByMachine.get(player.getClientConnection().machineID).remove(player);
|
||||
}
|
||||
}
|
||||
// remove from simulation and zero current loc
|
||||
|
||||
WorldGrid.RemoveWorldObject(player);
|
||||
|
||||
Reference in New Issue
Block a user