no move buff while flying

This commit is contained in:
2024-08-30 18:50:42 -05:00
parent 91565ced89
commit 19707d10a3
+1 -1
View File
@@ -4828,7 +4828,7 @@ public class PlayerCharacter extends AbstractCharacter {
}
if(this.isFlying()){
if(this.getBonuses() != null && this.getBonuses().getFloat(ModType.Speed,SourceType.None) > 0){
if(this.getBonuses() != null && this.getBonuses().getFloat(ModType.Speed,SourceType.BUFF) > 0){
GroundPlayer(this);
}
}