diff --git a/src/main/java/com/songoda/skyblock/SkyBlock.java b/src/main/java/com/songoda/skyblock/SkyBlock.java index 7b68a213..70e52f07 100644 --- a/src/main/java/com/songoda/skyblock/SkyBlock.java +++ b/src/main/java/com/songoda/skyblock/SkyBlock.java @@ -118,7 +118,12 @@ public class SkyBlock extends SongodaPlugin { } if(paper = ServerProject.isServer(ServerProject.PAPER)){ - paperAsync = Bukkit.spigot().getPaperConfig().getBoolean("settings.async-chunks.enable", false); + try { + Bukkit.spigot().getClass().getMethod("getPaperConfig"); + paperAsync = Bukkit.spigot().getPaperConfig().getBoolean("settings.async-chunks.enable", false); + } catch (NoSuchMethodException ignored) { + paperAsync = false; + } this.getLogger().info("Enabling Paper hooks"); }