fix error on loading for some versions

Dieser Commit ist enthalten in:
dordsor21 2020-07-01 15:05:38 +01:00
Ursprung fdbef4e12c
Commit 3e40f82d9a
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1E53E88969FFCF0B

Datei anzeigen

@ -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