mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
Added navigation wand to the tool bind item blacklist.
This commit is contained in:
parent
7afe38180c
commit
fed8960045
@ -458,6 +458,8 @@ public void setTool(int item, Tool tool) throws InvalidToolBindException {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user