resource stacking bug

This commit is contained in:
2024-03-09 20:21:32 -06:00
parent 3b179a5703
commit a6cf68ef07
+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());