From c65e06cb1ba8128107f5db946901ee31230c62da Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Tue, 3 Sep 2019 15:40:59 -0400 Subject: [PATCH] Removed tool command --- .../sk89q/worldedit/command/ToolCommands.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java index ccec4e7af..0bc487c8d 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/ToolCommands.java @@ -76,15 +76,16 @@ public class ToolCommands { this.we = we; } - @Command( - name = "none", - desc = "Unbind a bound tool from your current item" - ) - public void none(Player player, LocalSession session) throws WorldEditException { +// @Command( +// name = "none", +// desc = "Unbind a bound tool from your current item" +// ) +// public void none(Player player, LocalSession session) throws WorldEditException { +// +// session.setTool(player.getItemInHand(HandSide.MAIN_HAND).getType(), null); +// player.print("Tool unbound from your current item."); +// } - session.setTool(player.getItemInHand(HandSide.MAIN_HAND).getType(), null); - player.print("Tool unbound from your current item."); - } @Command( name = "/selwand", aliases = "selwand",