fly work
This commit is contained in:
@@ -71,7 +71,6 @@ public enum MovementManager {
|
|||||||
((PlayerCharacter) toMove).update();
|
((PlayerCharacter) toMove).update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
toMove.setIsCasting(false);
|
toMove.setIsCasting(false);
|
||||||
toMove.setItemCasting(false);
|
toMove.setItemCasting(false);
|
||||||
|
|
||||||
|
|||||||
@@ -4831,24 +4831,6 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
if (!this.isAlive())
|
if (!this.isAlive())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(this.isFlying()){
|
|
||||||
if (this.containsEffect(487604089)) {
|
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false);
|
|
||||||
}
|
|
||||||
if (this.containsEffect(296836988)) {
|
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false);
|
|
||||||
}
|
|
||||||
if (this.containsEffect(163174641)) {
|
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false);
|
|
||||||
}
|
|
||||||
if (this.containsEffect(163419371)) {
|
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false);
|
|
||||||
}
|
|
||||||
if (this.containsEffect(79883622)) {
|
|
||||||
PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 57584498, 40, false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
updateLocation();
|
updateLocation();
|
||||||
updateMovementState();
|
updateMovementState();
|
||||||
updateRegen();
|
updateRegen();
|
||||||
|
|||||||
Reference in New Issue
Block a user