mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2025-01-04 18:58:17 +01:00
uppercase blacklist material
This commit is contained in:
parent
6f03d80d5d
commit
9b719a3761
@ -298,7 +298,7 @@ public class AuctionCommand implements CommandExecutor {
|
||||
}
|
||||
}
|
||||
|
||||
if (config.getStringList("Settings.BlackList").contains(item.getType().getKey().getKey())) {
|
||||
if (config.getStringList("Settings.BlackList").contains(item.getType().getKey().getKey().toUpperCase())) {
|
||||
player.sendMessage(Messages.ITEM_BLACKLISTED.getMessage(sender));
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user