Browse Source

box tweaking

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
d70f9f6dc3
  1. 3
      src/engine/InterestManagement/InterestManager.java

3
src/engine/InterestManagement/InterestManager.java

@ -529,6 +529,7 @@ public enum InterestManager implements Runnable { @@ -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 { @@ -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;
}

Loading…
Cancel
Save