Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-07 20:10:06 +01:00
Unfix #826 in favour of allowing toggling the wand
- #826 is a pretty niche requirement, usually permissions do not change without a world change, relog, etc. very frequently - Allowing //toggleeditwand and /tool none on the wand feels more important
Dieser Commit ist enthalten in:
Ursprung
f04e891e0c
Commit
806ea14ad2
@ -1109,14 +1109,7 @@ public class LocalSession implements TextureHolder {
|
|||||||
loadDefaults(player, true); // Permissions have changed so redo the player's current tools.
|
loadDefaults(player, true); // Permissions have changed so redo the player's current tools.
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (tool != null) {
|
return tool;
|
||||||
return tool;
|
|
||||||
} else if (item.getInternalId() == wandItem.getInternalId() && SelectionWand.INSTANCE.canUse(player)) {
|
|
||||||
loadDefaults(player, true); // Permissions have changed so redo the player's current tools.
|
|
||||||
return SelectionWand.INSTANCE;
|
|
||||||
} else {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
//FAWE end
|
//FAWE end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren