Browse Source

no move buff while flying

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
19707d10a3
  1. 2
      src/engine/objects/PlayerCharacter.java

2
src/engine/objects/PlayerCharacter.java

@ -4828,7 +4828,7 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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);
}
}

Loading…
Cancel
Save