mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-01-24 16:41:38 +01:00
Fixed unrestricted inventories (#2080)
This commit is contained in:
parent
510dfbdd23
commit
35a3ad1867
@ -475,7 +475,7 @@ public class PlayerListener implements Listener {
|
||||
return false;
|
||||
}
|
||||
Set<String> whitelist = settings.getProperty(RestrictionSettings.UNRESTRICTED_INVENTORIES);
|
||||
return whitelist.contains(ChatColor.stripColor(inventory.getTitle()));
|
||||
return whitelist.contains(ChatColor.stripColor(inventory.getTitle()).toLowerCase());
|
||||
}
|
||||
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
|
||||
|
Loading…
Reference in New Issue
Block a user