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