fix wrong permission

This commit is contained in:
2025-11-27 17:48:10 +01:00
parent e13c8d630c
commit 84e0134450
@@ -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) -> {