mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 10:17:39 +00:00
Added navigation wand to the tool bind item blacklist.
This commit is contained in:
parent
7afe38180c
commit
fed8960045
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user