From ce3f4d9f4bedaa6fd51e54c0d84f6eedbc5065ff Mon Sep 17 00:00:00 2001 From: Wolfstorm Date: Sat, 24 Jul 2021 14:25:13 +0200 Subject: [PATCH] [FIX] Wrong Permission Node for Disabling Slots Signed-off-by: Wolfstorm --- .../java/io/github/rypofalem/armorstandeditor/PlayerEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java b/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java index 0f3444cb..957bbc2b 100644 --- a/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java +++ b/src/main/java/io/github/rypofalem/armorstandeditor/PlayerEditor.java @@ -309,7 +309,7 @@ private void paste(ArmorStand armorStand) { } private void toggleDisableSlots(ArmorStand armorStand) { - if(!getPlayer().hasPermission("ase.basic")) return; + if(!getPlayer().hasPermission("asedit.equipment")) return; if (armorStand.hasEquipmentLock(EquipmentSlot.HAND, ArmorStand.LockType.REMOVING_OR_CHANGING)) { //Adds a lock to every slot or removes it for (final EquipmentSlot slot : EquipmentSlot.values()) { armorStand.removeEquipmentLock(slot, ArmorStand.LockType.REMOVING_OR_CHANGING);