player update optimized

This commit is contained in:
2025-02-17 16:36:12 -06:00
parent 9d79afa395
commit 76284cf3c9
+8 -2
View File
@@ -5184,8 +5184,14 @@ public class PlayerCharacter extends AbstractCharacter {
}
}
if (this.isBoxed && !this.containsEffect(1672601862)) {
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 1672601862, 40, false);
if (this.isBoxed && !this.containsEffect(508555434)) {
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 508555434, 40, false);
}
if (this.ZergMultiplier != 1.0f && !this.containsEffect(-906894951)) {
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, -906894951, 40, false);
}else if(this.containsEffect(-906894951)){
this.effects.remove("Zerg Penalty");
}
if (this.isFlying()) {