From d70f9f6dc3fb031b2e790f019caf6f53373b230d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 5 Feb 2024 20:36:21 -0600 Subject: [PATCH] box tweaking --- src/engine/InterestManagement/InterestManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/InterestManagement/InterestManager.java b/src/engine/InterestManagement/InterestManager.java index f9aecb1c..0d4bb8d0 100644 --- a/src/engine/InterestManagement/InterestManager.java +++ b/src/engine/InterestManagement/InterestManager.java @@ -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; }