|
|
|
@ -935,15 +935,6 @@ public class Item extends AbstractWorldObject {
@@ -935,15 +935,6 @@ public class Item extends AbstractWorldObject {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected synchronized boolean equipItem(NPC npc, Enum.EquipSlotType slot) { |
|
|
|
|
if (!DbManager.ItemQueries.UPDATE_OWNER(this, |
|
|
|
|
npc.getObjectUUID(), //UUID
|
|
|
|
|
//isNPC
|
|
|
|
|
//isPlayer
|
|
|
|
|
//isAccount
|
|
|
|
|
ItemContainerType.EQUIPPED, |
|
|
|
|
slot)) //Slot
|
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
this.zeroItem(); |
|
|
|
|
this.ownerID = npc.getObjectUUID(); |
|
|
|
|
this.ownerType = OwnerType.Npc; |
|
|
|
|