Use holder.getName() instead of inventory.getName()

This fixes inventories not saving properly