|
|
@ -537,6 +537,7 @@ public class Item extends AbstractWorldObject { |
|
|
|
Item item = new Item(templateID); |
|
|
|
Item item = new Item(templateID); |
|
|
|
item.ownerID = pc.getObjectUUID(); |
|
|
|
item.ownerID = pc.getObjectUUID(); |
|
|
|
item.ownerType = OwnerType.PlayerCharacter; |
|
|
|
item.ownerType = OwnerType.PlayerCharacter; |
|
|
|
|
|
|
|
item.containerType = ItemContainerType.INVENTORY; |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
item = DbManager.ItemQueries.PERSIST(item); |
|
|
|
item = DbManager.ItemQueries.PERSIST(item); |
|
|
|