Removed tool command

This commit is contained in:
MattBDev 2019-09-03 15:40:59 -04:00
parent 2548b955ac
commit c65e06cb1b

View File

@ -76,15 +76,16 @@ public class ToolCommands {
this.we = we; this.we = we;
} }
@Command( // @Command(
name = "none", // name = "none",
desc = "Unbind a bound tool from your current item" // desc = "Unbind a bound tool from your current item"
) // )
public void none(Player player, LocalSession session) throws WorldEditException { // 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( @Command(
name = "/selwand", name = "/selwand",
aliases = "selwand", aliases = "selwand",