Added navigation wand to the tool bind item blacklist.

This commit is contained in:
sk89q 2011-02-18 20:59:39 -08:00
parent 7afe38180c
commit fed8960045

View File

@ -458,6 +458,8 @@ public class LocalSession {
throw new InvalidToolBindException(item, "Item is not usuable"); throw new InvalidToolBindException(item, "Item is not usuable");
} else if (item == config.wandItem) { } else if (item == config.wandItem) {
throw new InvalidToolBindException(item, "Already used for the wand"); 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); this.tools.put(item, tool);