if (storedVersion.isEmpty()) {
// Always allow updates from a version that isn't installed at all
allowVersionChange = true;
return true;
} else if (Integer.parseInt(storedVersion.replace(".", "")) != Integer.parseInt(onlineVersion.replace(".", ""))) {
ModPackVersionChangeDialog verDialog = new ModPackVersionChangeDialog(this, true, storedVersion, onlineVersion);
verDialog.setVisible(true);
}
return allowVersionChange & (!storedVersion.equals(onlineVersion));
}