From cf8cc534fd47ddc1049200b1dd1d89689e6d6ddc Mon Sep 17 00:00:00 2001 From: JustAHuman-xD <65748158+JustAHuman-xD@users.noreply.github.com> Date: Tue, 5 Mar 2024 08:53:47 -0600 Subject: [PATCH] add comment --- .../worldeditslimefun/commands/WorldEditSlimefunCommands.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/dev/j3fftw/worldeditslimefun/commands/WorldEditSlimefunCommands.java b/src/main/java/dev/j3fftw/worldeditslimefun/commands/WorldEditSlimefunCommands.java index 437027c..20b65f7 100644 --- a/src/main/java/dev/j3fftw/worldeditslimefun/commands/WorldEditSlimefunCommands.java +++ b/src/main/java/dev/j3fftw/worldeditslimefun/commands/WorldEditSlimefunCommands.java @@ -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;