Removed tool command

Dieser Commit ist enthalten in:
MattBDev 2019-09-03 15:40:59 -04:00
Ursprung 2548b955ac
Commit c65e06cb1b

Datei anzeigen

@ -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",