|
|
@ -4815,21 +4815,7 @@ public class PlayerCharacter extends AbstractCharacter { |
|
|
|
this.safeZone = this.isInSafeZone(); |
|
|
|
this.safeZone = this.isInSafeZone(); |
|
|
|
|
|
|
|
|
|
|
|
if(this.isBoxed && this.containsEffect(1672601862) == false) { |
|
|
|
if(this.isBoxed && this.containsEffect(1672601862) == false) { |
|
|
|
this.isBoxed = false; |
|
|
|
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); |
|
|
|
for (PlayerCharacter pc : SessionManager.getAllActivePlayers()) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (pc.isActive() == false) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (pc.isEnteredWorld() == false) |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.getClientConnection().machineID.equals(pc.getClientConnection().machineID)) { |
|
|
|
|
|
|
|
this.isBoxed = true; |
|
|
|
|
|
|
|
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|