|
|
@ -874,6 +874,7 @@ public class Item extends AbstractWorldObject { |
|
|
|
this.ownerID = npc.getObjectUUID(); |
|
|
|
this.ownerID = npc.getObjectUUID(); |
|
|
|
this.ownerType = OwnerType.Npc; |
|
|
|
this.ownerType = OwnerType.Npc; |
|
|
|
this.containerType = Enum.ItemContainerType.INVENTORY; |
|
|
|
this.containerType = Enum.ItemContainerType.INVENTORY; |
|
|
|
|
|
|
|
this.equipSlot = EquipSlotType.NONE; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -891,6 +892,7 @@ public class Item extends AbstractWorldObject { |
|
|
|
this.ownerID = 0; |
|
|
|
this.ownerID = 0; |
|
|
|
this.ownerType = null; |
|
|
|
this.ownerType = null; |
|
|
|
this.containerType = Enum.ItemContainerType.INVENTORY; |
|
|
|
this.containerType = Enum.ItemContainerType.INVENTORY; |
|
|
|
|
|
|
|
this.equipSlot = EquipSlotType.NONE; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -908,6 +910,7 @@ public class Item extends AbstractWorldObject { |
|
|
|
this.ownerID = pc.getObjectUUID(); |
|
|
|
this.ownerID = pc.getObjectUUID(); |
|
|
|
this.ownerType = OwnerType.PlayerCharacter; |
|
|
|
this.ownerType = OwnerType.PlayerCharacter; |
|
|
|
this.containerType = Enum.ItemContainerType.BANK; |
|
|
|
this.containerType = Enum.ItemContainerType.BANK; |
|
|
|
|
|
|
|
this.equipSlot = EquipSlotType.NONE; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -925,6 +928,7 @@ public class Item extends AbstractWorldObject { |
|
|
|
this.ownerID = npc.getObjectUUID(); |
|
|
|
this.ownerID = npc.getObjectUUID(); |
|
|
|
this.ownerType = OwnerType.Npc; |
|
|
|
this.ownerType = OwnerType.Npc; |
|
|
|
this.containerType = Enum.ItemContainerType.BANK; |
|
|
|
this.containerType = Enum.ItemContainerType.BANK; |
|
|
|
|
|
|
|
this.equipSlot = EquipSlotType.NONE; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -942,6 +946,7 @@ public class Item extends AbstractWorldObject { |
|
|
|
this.ownerID = a.getObjectUUID(); |
|
|
|
this.ownerID = a.getObjectUUID(); |
|
|
|
this.ownerType = OwnerType.Account; |
|
|
|
this.ownerType = OwnerType.Account; |
|
|
|
this.containerType = Enum.ItemContainerType.VAULT; |
|
|
|
this.containerType = Enum.ItemContainerType.VAULT; |
|
|
|
|
|
|
|
this.equipSlot = EquipSlotType.NONE; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|