Added navigation wand to the tool bind item blacklist.

Dieser Commit ist enthalten in:
sk89q 2011-02-18 20:59:39 -08:00
Ursprung 7afe38180c
Commit fed8960045

Datei anzeigen

@ -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);