boxshroud fixes

This commit is contained in:
2024-02-14 13:51:50 -06:00
parent 3ef3a0c37c
commit aa0e993038
+2 -6
View File
@@ -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);