box tweaking

This commit is contained in:
2024-02-05 20:36:21 -06:00
parent a9ecf76585
commit d70f9f6dc3
@@ -529,6 +529,7 @@ public enum InterestManager implements Runnable {
updateMobileList(player, origin);
// apply the 1 box restriction
player.isBoxed = false;
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
if(pc.isActive() == false)
continue;
@@ -538,6 +539,8 @@ public enum InterestManager implements Runnable {
if(origin.machineID.equals(pc.getClientConnection().machineID)){
//add deatshroud effect
if(pc.isBoxed == true)
continue;
player.isBoxed = true;
return;
}