mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-25 18:47:40 +01:00
Remove extra slot
This commit is contained in:
parent
298919feee
commit
7daf2ccea3
@ -53,9 +53,6 @@ public class EquipmentEditor extends Editor {
|
||||
&& event.getPlayer().hasPermission("citizens.npc.edit.equip.offhand")) {
|
||||
slot = EquipmentSlot.OFF_HAND;
|
||||
}
|
||||
if (event.getMessage().equals("extra") && event.getPlayer().hasPermission("citizens.npc.edit.equip.extra")) {
|
||||
slot = EquipmentSlot.EXTRA;
|
||||
}
|
||||
if (slot == null) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user