Revert: Fix default password regex

- The regex pattern allows all visible, non-whitespace ASCII symbols, including '0'
This commit is contained in:
ljacqu 2017-07-15 18:41:01 +02:00
parent b196d3e022
commit 822818cf33

View File

@ -158,7 +158,7 @@ public final class RestrictionSettings implements SettingsHolder {
@Comment("Regex syntax for allowed chars in passwords")
public static final Property<String> ALLOWED_PASSWORD_REGEX =
newProperty("settings.restrictions.allowedPasswordCharacters", "[0-~]*");
newProperty("settings.restrictions.allowedPasswordCharacters", "[\\x21-\\x7E]*");
@Comment("Force survival gamemode when player joins?")
public static final Property<Boolean> FORCE_SURVIVAL_MODE =