change restoreFlySpeed default value to RESTORE_NO_ZERO

Should fix issues like #1222
This commit is contained in:
Gabriele C 2017-05-21 18:51:50 +02:00
parent a167429fbc
commit 20e72b355b

View File

@ -59,7 +59,7 @@ public final class LimboSettings implements SettingsHolder {
"RESTORE_NO_ZERO: Like 'restore' but sets speed to default if the player's speed was 0" "RESTORE_NO_ZERO: Like 'restore' but sets speed to default if the player's speed was 0"
}) })
public static final Property<WalkFlySpeedRestoreType> RESTORE_FLY_SPEED = public static final Property<WalkFlySpeedRestoreType> RESTORE_FLY_SPEED =
newProperty(WalkFlySpeedRestoreType.class, "limbo.restoreFlySpeed", WalkFlySpeedRestoreType.MAX_RESTORE); newProperty(WalkFlySpeedRestoreType.class, "limbo.restoreFlySpeed", WalkFlySpeedRestoreType.RESTORE_NO_ZERO);
@Comment({ @Comment({
"Restore walk speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.", "Restore walk speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.",