Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAHuman-xD committed Mar 5, 2024
1 parent 38e0d5f commit cf8cc53
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ public void onDefault(Player player) {
@Subcommand("wand")
public void onWand(Player player) {
ItemStack wand = SlimefunItem.getOptionalById("WESF_WAND").map(SlimefunItem::getItem).orElse(null);

// This should never be reached
if (wand == null) {
player.sendMessage(ChatColor.RED + "Wand not found!");
return;
Expand Down

0 comments on commit cf8cc53

Please sign in to comment.