Browse Source

Rewrite of handler

combat-2
MagicBot 8 months ago
parent
commit
2fb889272b
  1. 1
      src/engine/objects/Item.java

1
src/engine/objects/Item.java

@ -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);

Loading…
Cancel
Save