Refractored InventoryHandler
If the active inventory is the player inventoryupdate the player inventory instead