From 8b402f642310bc83236768d126c6789c2bb96a96 Mon Sep 17 00:00:00 2001 From: Luck Date: Sat, 18 Mar 2017 15:34:29 +0000 Subject: [PATCH] Fix NoSuchMethodError being thrown for older Bukkit config classes --- .../src/main/java/me/lucko/luckperms/bukkit/BukkitConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitConfig.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitConfig.java index 3822fee51..da5e6abff 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitConfig.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/BukkitConfig.java @@ -59,7 +59,7 @@ public class BukkitConfig extends AbstractConfiguration { @Override public boolean contains(String path) { - return configuration.contains(path, true); + return configuration.contains(path); } @Override