This commit is contained in:
Jesse Boyd 2016-06-05 18:57:11 +10:00
parent 0114dd7558
commit 48cf381ed6

View File

@ -1846,7 +1846,7 @@ public class PS {
String[] split = lastVersionString.split("\\.");
this.lastVersion = new int[]{Integer.parseInt(split[0]), Integer.parseInt(split[1]), Integer.parseInt(split[2])};
}
if (checkVersion(lastVersion, new int[]{3,4,0})) {
if (checkVersion(new int[]{3,4,0}, lastVersion)) {
Settings.convertLegacy(configFile);
if (config.contains("worlds")) {
ConfigurationSection worldSection = config.getConfigurationSection("worlds");