diff --git a/src/main/java/com/gmail/nossr50/config/BukkitConfig.java b/src/main/java/com/gmail/nossr50/config/BukkitConfig.java index 4feef929e..ecc4fd60d 100644 --- a/src/main/java/com/gmail/nossr50/config/BukkitConfig.java +++ b/src/main/java/com/gmail/nossr50/config/BukkitConfig.java @@ -62,7 +62,14 @@ public abstract class BukkitConfig { mcMMO.p.getLogger().info("[config] Loading config from disk: " + fileName); YamlConfiguration config = new YamlConfiguration(); config.options().indent(4); - config.options().parseComments(true); + + try { + config.options().parseComments(true); + } catch (NoSuchMethodError e) { + //e.printStackTrace(); + mcMMO.p.getLogger().severe("Your Spigot/CraftBukkit API is out of date, update your server software!"); + } + config.options().copyDefaults(true); try {