mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-01-12 09:57:59 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
76bcb76905
1 changed files with 1 additions and 1 deletions
|
@ -1853,7 +1853,7 @@ public class PS {
|
||||||
String[] split = lastVersionString.split("\\.");
|
String[] split = lastVersionString.split("\\.");
|
||||||
this.lastVersion = new int[]{Integer.parseInt(split[0]), Integer.parseInt(split[1]), Integer.parseInt(split[2])};
|
this.lastVersion = new int[]{Integer.parseInt(split[0]), Integer.parseInt(split[1]), Integer.parseInt(split[2])};
|
||||||
}
|
}
|
||||||
if (checkVersion(new int[]{3,4,0}, lastVersion)) {
|
if (lastVersion != null && checkVersion(new int[]{3,4,0}, lastVersion)) {
|
||||||
Settings.convertLegacy(configFile);
|
Settings.convertLegacy(configFile);
|
||||||
if (config.contains("worlds")) {
|
if (config.contains("worlds")) {
|
||||||
ConfigurationSection worldSection = config.getConfigurationSection("worlds");
|
ConfigurationSection worldSection = config.getConfigurationSection("worlds");
|
||||||
|
|
Loading…
Reference in a new issue