resource stacking bug

This commit is contained in:
FatBoy committed 2024-03-09 20:21:32 -06:00
1 parent 3b179a5703
commit a6cf68ef07
1 file changed
+1 -1
+1 -1
View File
@@ -1265,7 +1265,7 @@ public class CharacterItemManager {
}
}
}
i.setNumOfItems(count);
i = new MobLoot(this.getOwner(),i.getItemBase(),count,false).promoteToItem((PlayerCharacter)this.getOwner());
}
this.inventory.add(i);
this.itemIDtoType.put(i.getObjectUUID(), i.getObjectType().ordinal());