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;