Skip to content

Commit

Permalink
Added null notification on enchant command
Browse files Browse the repository at this point in the history
  • Loading branch information
LoJoSho committed Jul 23, 2022
1 parent 00a9bac commit 89ee9f8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ private static void addEnchantItem(String[] args, CommandSender sender, ItemStac
for (Enchantment enchant : hashyEnchants.keySet()) {

if (enchant == null) {
SendMessageUtil.sendStringMessage(player, "Enchantment was null.");
return;
}

Expand Down

0 comments on commit 89ee9f8

Please sign in to comment.