Fixed for 1.5.2 Inventory compatibility