forked from MagicBane/Server
box limit adjustment
This commit is contained in:
@@ -530,6 +530,12 @@ public enum InterestManager implements Runnable {
|
|||||||
|
|
||||||
// apply the 1 box restriction
|
// apply the 1 box restriction
|
||||||
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
||||||
|
if(pc.isActive() == false)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if(pc.isEnteredWorld() == false)
|
||||||
|
continue;
|
||||||
|
|
||||||
if(origin.machineID.equals(pc.getClientConnection().machineID)){
|
if(origin.machineID.equals(pc.getClientConnection().machineID)){
|
||||||
//add deatshroud effect
|
//add deatshroud effect
|
||||||
PowersManager.applyPower(player, player, Vector3fImmutable.ZERO, 1672601862, 999, false);
|
PowersManager.applyPower(player, player, Vector3fImmutable.ZERO, 1672601862, 999, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user