mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Assume spigot 1.13 if NumberFormatException is fired
This commit is contained in:
parent
768e21d1b5
commit
be8172ce91
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user