From aa0e9930380b10116e19a9b1f9855d6fa9c2d9d8 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 14 Feb 2024 13:51:50 -0600 Subject: [PATCH] boxshroud fixes --- src/engine/objects/PlayerCharacter.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 0b9bb680..22bebc72 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4825,16 +4825,12 @@ public class PlayerCharacter extends AbstractCharacter { continue; if (this.getClientConnection().machineID.equals(pc.getClientConnection().machineID)) { - //add deatshroud effect - if (pc.isBoxed == true) - continue; this.isBoxed = true; - break; + PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); + return; } } } - if(this.isBoxed && this.containsEffect(1672601862) == false) - PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false); } catch (Exception e) { Logger.error(e);