mirror of
https://github.com/YouHaveTrouble/Stand-in.git
synced 2026-05-11 22:16:55 +00:00
fix wrong permission
This commit is contained in:
@@ -109,7 +109,7 @@ public class MannequinHandler extends EntityHandler<Mannequin> {
|
|||||||
).build();
|
).build();
|
||||||
actions.add(saveButton);
|
actions.add(saveButton);
|
||||||
|
|
||||||
if (player.hasPermission("standin.change_type.armor_stand")) {
|
if (player.hasPermission("standin.change_type.mannequin")) {
|
||||||
ActionButton changeTypeButton = ActionButton.builder(Component.text("Change type"))
|
ActionButton changeTypeButton = ActionButton.builder(Component.text("Change type"))
|
||||||
.action(
|
.action(
|
||||||
DialogAction.customClick((view, audience) -> {
|
DialogAction.customClick((view, audience) -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user