mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 10:36:39 +00:00
Add the max-walk-speed config variable back to the default config file.
This commit is contained in:
parent
35792f9728
commit
b8e079ddcb
2 changed files with 4 additions and 1 deletions
|
@ -1022,7 +1022,7 @@ public class Settings implements ISettings
|
|||
@Override
|
||||
public double getMaxFlySpeed()
|
||||
{
|
||||
double maxSpeed = config.getDouble("max-fly-speed", 1.0);
|
||||
double maxSpeed = config.getDouble("max-fly-speed", 0.8);
|
||||
return maxSpeed > 1.0 ? 1.0 : Math.abs(maxSpeed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue