Assume spigot 1.13 if NumberFormatException is fired

This commit is contained in:
Speentie8081 2018-07-22 09:17:38 -05:00
parent 768e21d1b5
commit be8172ce91

View File

@ -177,7 +177,7 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
e.printStackTrace();
PS.debug(StringMan.getString(Bukkit.getBukkitVersion()));
PS.debug(StringMan.getString(Bukkit.getBukkitVersion().split("-")[0].split("\\.")));
return new int[]{1, 10, 0};
return new int[]{1, 13, 0};
}
}
return this.version;