moving in the air with movebuff will result in immediate ground
This commit is contained in:
@@ -69,6 +69,8 @@ public enum MovementManager {
|
|||||||
if (toMove.getObjectType().equals(GameObjectType.PlayerCharacter)) {
|
if (toMove.getObjectType().equals(GameObjectType.PlayerCharacter)) {
|
||||||
if (((PlayerCharacter) toMove).isCasting())
|
if (((PlayerCharacter) toMove).isCasting())
|
||||||
((PlayerCharacter) toMove).update();
|
((PlayerCharacter) toMove).update();
|
||||||
|
if(((PlayerCharacter) toMove).isFlying() && toMove.getEffects().containsKey("MoveBuff"))
|
||||||
|
PlayerCharacter.GroundPlayer(((PlayerCharacter) toMove));
|
||||||
}
|
}
|
||||||
|
|
||||||
toMove.setIsCasting(false);
|
toMove.setIsCasting(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user