uppercase blacklist material

This commit is contained in:
Ryder Belserion 2024-10-01 11:04:01 -04:00
parent 6f03d80d5d
commit 9b719a3761
No known key found for this signature in database

View File

@ -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;