forked from MagicBane/Server
combat bug fix
This commit is contained in:
@@ -539,19 +539,6 @@ public enum InterestManager implements Runnable {
|
||||
player.getCharItemManager().updateInventory();
|
||||
}
|
||||
player.isBoxed = false;
|
||||
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
||||
if(pc.isActive() == false)
|
||||
continue;
|
||||
if(pc.isEnteredWorld() == false)
|
||||
continue;
|
||||
if(origin.machineID.equals(pc.getClientConnection().machineID)){
|
||||
//add deatshroud effect
|
||||
if(pc.isBoxed == true)
|
||||
continue;
|
||||
player.isBoxed = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user