cant change altitude while stunned

This commit is contained in:
2025-01-09 17:58:27 -06:00
parent 63b40c27a5
commit 386cdc8c18
+2 -1
View File
@@ -499,7 +499,8 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
if(flyer.effects.containsKey("MoveBuff")){
canFly = false;
}
if(flyer.bonuses.getBool(ModType.Stunned, SourceType.None))
canFly = false;
return canFly;