Remove extra slot

This commit is contained in:
fullwall 2016-03-16 22:06:51 +08:00
parent 298919feee
commit 7daf2ccea3

View File

@ -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;
} }