diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index 69d0d815..5ecc4edf 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -943,10 +943,10 @@ public class Item extends AbstractWorldObject { return true; } - protected synchronized boolean equipItem(Mob npc, Enum.EquipSlotType slot) { + protected synchronized boolean equipItem(Mob mobile, Enum.EquipSlotType slot) { this.zeroItem(); - this.ownerID = npc.getObjectUUID(); + this.ownerID = mobile.getObjectUUID(); this.ownerType = OwnerType.Mob; this.containerType = Enum.ItemContainerType.EQUIPPED; this.equipSlot = slot;