fix error on loading for some versions

This commit is contained in:
dordsor21 2020-07-01 15:05:38 +01:00
parent fdbef4e12c
commit 3e40f82d9a
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -82,6 +82,8 @@ public class FaweBukkit implements IFawe, Listener {
e.printStackTrace();
Bukkit.getServer().shutdown();
}
chunksStretched = Integer.parseInt(Bukkit.getBukkitVersion().split("-")[0].split("\\.")[1]) >= 16;
//Vault is Spigot/Paper only so this needs to be done in the Bukkit module
setupVault();
@ -100,8 +102,6 @@ public class FaweBukkit implements IFawe, Listener {
// The tick limiter
new ChunkListener_9();
});
chunksStretched = Integer.parseInt(Bukkit.getMinecraftVersion().split("\\.")[1]) >= 16;
}
@Override // Please don't delete this again, it's WIP