box tweaking
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user