mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-27 21:29:14 +01:00
Update null equipment
This commit is contained in:
parent
cc8d9c10a8
commit
ead7db1990
@ -174,8 +174,6 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder {
|
||||
for (int i = 0; i < previousEquipment.length; i++) {
|
||||
net.minecraft.server.ItemStack previous = previousEquipment[i];
|
||||
net.minecraft.server.ItemStack current = getEquipment(i);
|
||||
if (current == null)
|
||||
continue;
|
||||
if (!net.minecraft.server.ItemStack.equals(previous, current)) {
|
||||
Util.sendPacketNearby(getBukkitEntity().getLocation(), new Packet5EntityEquipment(id, i,
|
||||
current));
|
||||
|
Loading…
Reference in New Issue
Block a user