|
|
@ -176,20 +176,6 @@ public enum SimulationManager { |
|
|
|
if (player == null) |
|
|
|
if (player == null) |
|
|
|
continue; |
|
|
|
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(); |
|
|
|
player.update(); |
|
|
|
} |
|
|
|
} |
|
|
|