From 2e35e35a6e62810725643b0192403589b1edc76c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 28 Jan 2025 18:58:15 -0600 Subject: [PATCH] fury no longer grounded at end of flight chant --- src/engine/objects/AbstractWorldObject.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/AbstractWorldObject.java b/src/engine/objects/AbstractWorldObject.java index ac06b52a..e76b6666 100644 --- a/src/engine/objects/AbstractWorldObject.java +++ b/src/engine/objects/AbstractWorldObject.java @@ -271,7 +271,8 @@ public abstract class AbstractWorldObject extends AbstractGameObject { if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) if (name.equals("Flight")) { ((PlayerCharacter) this).update(false); - PlayerCharacter.GroundPlayer((PlayerCharacter) this); + if(!AbstractCharacter.CanFly((PlayerCharacter) this)) + PlayerCharacter.GroundPlayer((PlayerCharacter) this); } } applyAllBonuses();