diff --git a/src/main/java/net/Indyuce/mmocore/manager/CustomBlockManager.java b/src/main/java/net/Indyuce/mmocore/manager/CustomBlockManager.java index c723205a..97c2bcc4 100644 --- a/src/main/java/net/Indyuce/mmocore/manager/CustomBlockManager.java +++ b/src/main/java/net/Indyuce/mmocore/manager/CustomBlockManager.java @@ -180,6 +180,8 @@ public class CustomBlockManager extends MMOManager { public void reload() { customMineConditions.clear(); + this.protect = MMOCore.plugin.getConfig().getBoolean("protect-custom-mine"); + for (String key : MMOCore.plugin.getConfig().getStringList("custom-mine-conditions")) try { customMineConditions.add(MMOCore.plugin.loadManager.loadCondition(new MMOLineConfig(key)));