Browse Source

resource dupe

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
8c6637663d
  1. 6
      src/engine/objects/CharacterItemManager.java

6
src/engine/objects/CharacterItemManager.java

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

Loading…
Cancel
Save