proper flying check for speed calculation
This commit is contained in:
1 parent
e607eb8220
commit
20bd7a82af
1 file changed
+1
-1
@@ -2895,7 +2895,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
|
||||
float speed;
|
||||
|
||||
if (this.getAltitude() > 0)
|
||||
if (this.isFlying())
|
||||
if (this.walkMode) {
|
||||
speed = race.getRaceType().getRunSpeed().getFlyWalk();
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user