|
|
|
@ -943,10 +943,10 @@ public class Item extends AbstractWorldObject {
@@ -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; |
|
|
|
|