mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
Merge branch 'master' of http://www.github.com/CitizensDev/Citizens2
This commit is contained in:
commit
bb93032410
@ -91,7 +91,7 @@ public class EquipmentEditor extends Editor {
|
||||
slot = 4;
|
||||
break;
|
||||
case AIR:
|
||||
for (int i = 0; i < 4; i++) {
|
||||
for (int i = 0; i < 5; i++) {
|
||||
if (trait.get(i) != null && trait.get(i).getType() != Material.AIR) {
|
||||
player.getWorld().dropItemNaturally(npc.getBukkitEntity().getLocation(), trait.get(i));
|
||||
trait.set(i, null);
|
||||
|
Loading…
Reference in New Issue
Block a user