mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-06-04 05:19:44 +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
|
@Override
|
||||||
public double getMaxFlySpeed()
|
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);
|
return maxSpeed > 1.0 ? 1.0 : Math.abs(maxSpeed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -384,6 +384,9 @@ login-attack-delay: 5
|
||||||
#Set the max fly speed, values range from 0.1 to 1.0
|
#Set the max fly speed, values range from 0.1 to 1.0
|
||||||
max-fly-speed: 0.8
|
max-fly-speed: 0.8
|
||||||
|
|
||||||
|
#Set the max walk speed, values range from 0.1 to 1.0
|
||||||
|
max-walk-speed: 0.8
|
||||||
|
|
||||||
#Set the maximum amount of mail that can be sent within a minute.
|
#Set the maximum amount of mail that can be sent within a minute.
|
||||||
mails-per-minute: 1000
|
mails-per-minute: 1000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue