mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-06 10:59:35 +01:00
Allow space on Sponge Group subjectcollection
This commit is contained in:
parent
1bdb512826
commit
9aeca91f22
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user