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