From aaa50cacda98f6445c415967e1070d5d0b0bc9ca Mon Sep 17 00:00:00 2001 From: Luck Date: Fri, 29 Dec 2017 00:39:54 +0000 Subject: [PATCH] Allow spaces in world names --- .../java/me/lucko/luckperms/common/storage/DataConstraints.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/storage/DataConstraints.java b/common/src/main/java/me/lucko/luckperms/common/storage/DataConstraints.java index dde3b7c59..7d342bea7 100644 --- a/common/src/main/java/me/lucko/luckperms/common/storage/DataConstraints.java +++ b/common/src/main/java/me/lucko/luckperms/common/storage/DataConstraints.java @@ -64,6 +64,6 @@ public class DataConstraints { public static final Predicate SERVER_NAME_TEST = s -> s.length() > 0 && s.length() <= MAX_SERVER_LENGTH && !s.contains(" "); - public static final Predicate WORLD_NAME_TEST = s -> s.length() > 0 && s.length() <= MAX_WORLD_LENGTH && !s.contains(" "); + public static final Predicate WORLD_NAME_TEST = s -> s.length() > 0 && s.length() <= MAX_WORLD_LENGTH; }