From fed8960045f45221ac4a33208c7fd13143641c96 Mon Sep 17 00:00:00 2001 From: sk89q Date: Fri, 18 Feb 2011 20:59:39 -0800 Subject: [PATCH] Added navigation wand to the tool bind item blacklist. --- src/com/sk89q/worldedit/LocalSession.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/sk89q/worldedit/LocalSession.java b/src/com/sk89q/worldedit/LocalSession.java index 75f754689..bd9d7eaf0 100644 --- a/src/com/sk89q/worldedit/LocalSession.java +++ b/src/com/sk89q/worldedit/LocalSession.java @@ -458,6 +458,8 @@ public class LocalSession { throw new InvalidToolBindException(item, "Item is not usuable"); } else if (item == config.wandItem) { throw new InvalidToolBindException(item, "Already used for the wand"); + } else if (item == config.navigationWand) { + throw new InvalidToolBindException(item, "Already used for the navigation wand"); } this.tools.put(item, tool);