resource dupe

This commit is contained in:
2024-03-14 21:22:34 -05:00
parent 4cb0f28e57
commit 8c6637663d
+3 -3
View File
@@ -1267,9 +1267,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.setOwner(null);
item.junk(); junk(item);
} }
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());