From 9aeca91f22d9e91aae483bd94c0a28e3b8822744 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 19 Dec 2016 21:52:26 +0000 Subject: [PATCH] Allow space on Sponge Group subjectcollection --- .../me/lucko/luckperms/sponge/managers/SpongeGroupManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sponge/src/main/java/me/lucko/luckperms/sponge/managers/SpongeGroupManager.java b/sponge/src/main/java/me/lucko/luckperms/sponge/managers/SpongeGroupManager.java index 3589237b..bf81339f 100644 --- a/sponge/src/main/java/me/lucko/luckperms/sponge/managers/SpongeGroupManager.java +++ b/sponge/src/main/java/me/lucko/luckperms/sponge/managers/SpongeGroupManager.java @@ -133,7 +133,7 @@ public class SpongeGroupManager implements GroupManager, LPSubjectCollection { try (Timing ignored = plugin.getTimings().time(LPTiming.GROUP_COLLECTION_GET)) { id = id.toLowerCase(); - if (ArgumentChecker.checkName(id)) { + if (ArgumentChecker.checkNameWithSpace(id)) { plugin.getLog().warn("Couldn't get group subject for id: " + id + " (invalid name)"); return plugin.getService().getFallbackGroupSubjects().get(id); // fallback to transient collection }