no move buff while flying
This commit is contained in:
@@ -4828,11 +4828,8 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
}
|
||||
|
||||
if(this.isFlying()){
|
||||
if(this.getBonuses() != null){
|
||||
float speedMod = this.getBonuses().getFloatPercentPositive(ModType.Speed,SourceType.None);
|
||||
if(speedMod > 0) {
|
||||
GroundPlayer(this);
|
||||
}
|
||||
if (!AbstractCharacter.CanFly(this)) {
|
||||
GroundPlayer(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user