forked from MagicBane/Server
deathshroud application
This commit is contained in:
@@ -176,20 +176,6 @@ public enum SimulationManager {
|
||||
if (player == null)
|
||||
continue;
|
||||
|
||||
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
||||
if(pc.isActive() == false)
|
||||
continue;
|
||||
|
||||
if(pc.isEnteredWorld() == false)
|
||||
continue;
|
||||
|
||||
if(player.getClientConnection().machineID.equals(pc.getClientConnection().machineID)){
|
||||
//add deatshroud effect
|
||||
player.isBoxed = true;
|
||||
break;
|
||||
}
|
||||
player.isBoxed = false;
|
||||
}
|
||||
|
||||
player.update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user