|
|
|
@ -1268,7 +1268,9 @@ public class CharacterItemManager {
@@ -1268,7 +1268,9 @@ public class CharacterItemManager {
|
|
|
|
|
for(Item item : purge){ |
|
|
|
|
count += item.getNumOfItems(); |
|
|
|
|
this.removeItemFromInventory(item); |
|
|
|
|
item.setOwner(null); |
|
|
|
|
item.junk(); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
Item resource = new MobLoot(this.getOwner(),i.getItemBase(),count,false).promoteToItem((PlayerCharacter)this.getOwner()); |
|
|
|
|
this.inventory.add(resource); |
|
|
|
|