|
|
|
@ -271,6 +271,7 @@ public abstract class AbstractWorldObject extends AbstractGameObject {
@@ -271,6 +271,7 @@ public abstract class AbstractWorldObject extends AbstractGameObject {
|
|
|
|
|
if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) |
|
|
|
|
if (name.equals("Flight")) { |
|
|
|
|
((PlayerCharacter) this).update(false); |
|
|
|
|
if(!AbstractCharacter.CanFly((PlayerCharacter) this)) |
|
|
|
|
PlayerCharacter.GroundPlayer((PlayerCharacter) this); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|