#1036 Remove 'allowSpeed' option

- Option is no longer needed as the plugin user can configure how/if the speeds should be restored now
This commit is contained in:
ljacqu
2017-03-24 21:26:34 +01:00
parent 3e95d30c6b
commit 2f90a45f43
3 changed files with 1 additions and 9 deletions
@@ -57,8 +57,7 @@ class LimboServiceHelper {
player.setOp(false);
player.setAllowFlight(false);
if (!settings.getProperty(RestrictionSettings.ALLOW_UNAUTHED_MOVEMENT)
&& settings.getProperty(RestrictionSettings.REMOVE_SPEED)) {
if (!settings.getProperty(RestrictionSettings.ALLOW_UNAUTHED_MOVEMENT)) {
player.setFlySpeed(0.0f);
player.setWalkSpeed(0.0f);
}