mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-27 03:28:45 +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")) {
|
&& event.getPlayer().hasPermission("citizens.npc.edit.equip.offhand")) {
|
||||||
slot = EquipmentSlot.OFF_HAND;
|
slot = EquipmentSlot.OFF_HAND;
|
||||||
}
|
}
|
||||||
if (event.getMessage().equals("extra") && event.getPlayer().hasPermission("citizens.npc.edit.equip.extra")) {
|
|
||||||
slot = EquipmentSlot.EXTRA;
|
|
||||||
}
|
|
||||||
if (slot == null) {
|
if (slot == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user