From 227549bf225917285d95fb5763416869b60ee6a9 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 30 Aug 2024 18:51:56 -0500 Subject: [PATCH] no move buff while flying --- src/engine/objects/AbstractCharacter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index f01002a7..6d2fb35f 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -500,7 +500,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject { if (bonus != null && !bonus.getBool(ModType.NoMod, SourceType.Fly) && bonus.getBool(ModType.Fly, SourceType.None) && flyer.isAlive()) canFly = true; - if(bonus != null && bonus.getFloat(ModType.Speed,SourceType.None) > 0){ + if(bonus != null && bonus.getFloat(ModType.Speed,SourceType.BUFF) > 0){ return false; }