fix player inventory and loot