* @param inventory to load
* @param list to load from
*/
public static void loadInventory(org.bukkit.inventory.Inventory inventory, CommonTagList list) {
final Object inventoryHandle = Conversion.toInventoryHandle.convert(inventory);
NBTTagList nbt = (NBTTagList) list.getHandle();
if (inventoryHandle == null) {
throw new IllegalArgumentException("This kind of inventory lacks a handle to save");
} else if (inventoryHandle instanceof PlayerInventory) {
((PlayerInventory) inventoryHandle).b(nbt);
} else if (inventoryHandle instanceof InventoryEnderChest) {