Revert "Do not allow tool bindings to the hand"

This reverts commit a6f7055c7b.
This should be reimplemented with a configuration option or a warning
instead of completely blocking it.
This commit is contained in:
Wizjany 2012-11-08 23:48:46 -05:00
parent a6f7055c7b
commit 14aa9a524d

View File

@ -478,8 +478,6 @@ public BrushTool getBrushTool(int item) throws InvalidToolBindException {
public void setTool(int item, Tool tool) throws InvalidToolBindException {
if (item > 0 && item < 255) {
throw new InvalidToolBindException(item, "Blocks can't be used");
} else if (item == 0) {
throw new InvalidToolBindException(item, "Your hand can't be used");
} else if (item == config.wandItem) {
throw new InvalidToolBindException(item, "Already used for the wand");
} else if (item == config.navigationWand) {