MultiInv.log.debug("First time or old inventory file detected for " + playername + " in " + folder);
if(inventoryString == null) {
// seems the older versions have the inventory name in lower case...
inventoryString = playerFile.getString(inventoryName.toLowerCase());
}
inventory = new MIInventoryOld(inventoryString);
} else {
inventory = new MIInventory(inventoryString);
}
return inventory;
}