box tweaking
This commit is contained in:
@@ -529,6 +529,7 @@ public enum InterestManager implements Runnable {
|
|||||||
updateMobileList(player, origin);
|
updateMobileList(player, origin);
|
||||||
|
|
||||||
// apply the 1 box restriction
|
// apply the 1 box restriction
|
||||||
|
player.isBoxed = false;
|
||||||
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
||||||
if(pc.isActive() == false)
|
if(pc.isActive() == false)
|
||||||
continue;
|
continue;
|
||||||
@@ -538,6 +539,8 @@ public enum InterestManager implements Runnable {
|
|||||||
|
|
||||||
if(origin.machineID.equals(pc.getClientConnection().machineID)){
|
if(origin.machineID.equals(pc.getClientConnection().machineID)){
|
||||||
//add deatshroud effect
|
//add deatshroud effect
|
||||||
|
if(pc.isBoxed == true)
|
||||||
|
continue;
|
||||||
player.isBoxed = true;
|
player.isBoxed = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user