mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-08 13:33:11 +00:00
Fixes #1050
This commit is contained in:
parent
c2c20ff189
commit
40e063e702
4 changed files with 4 additions and 7 deletions
|
@ -112,11 +112,11 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain {
|
|||
if (split.length == 3) {
|
||||
this.version[2] = Integer.parseInt(split[2]);
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
PS.debug(StringMan.getString(Bukkit.getBukkitVersion()));
|
||||
PS.debug(StringMan.getString(Bukkit.getBukkitVersion().split("-")[0].split("\\.")));
|
||||
return new int[]{Integer.MAX_VALUE, 0, 0};
|
||||
return new int[]{1,9,2};
|
||||
}
|
||||
}
|
||||
return this.version;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue