Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
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.
Dieser Commit ist enthalten in:
Ursprung
a6f7055c7b
Commit
14aa9a524d
@ -478,8 +478,6 @@ public class LocalSession {
|
|||||||
public void setTool(int item, Tool tool) throws InvalidToolBindException {
|
public void setTool(int item, Tool tool) throws InvalidToolBindException {
|
||||||
if (item > 0 && item < 255) {
|
if (item > 0 && item < 255) {
|
||||||
throw new InvalidToolBindException(item, "Blocks can't be used");
|
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) {
|
} 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) {
|
} else if (item == config.navigationWand) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren