forked from Upstream/mmocore
Fixed 'protect-custom-mine' not working.
josh is a special child
This commit is contained in:
parent
ad175aa511
commit
52d525241b
@ -180,6 +180,8 @@ public class CustomBlockManager extends MMOManager {
|
|||||||
public void reload() {
|
public void reload() {
|
||||||
customMineConditions.clear();
|
customMineConditions.clear();
|
||||||
|
|
||||||
|
this.protect = MMOCore.plugin.getConfig().getBoolean("protect-custom-mine");
|
||||||
|
|
||||||
for (String key : MMOCore.plugin.getConfig().getStringList("custom-mine-conditions"))
|
for (String key : MMOCore.plugin.getConfig().getStringList("custom-mine-conditions"))
|
||||||
try {
|
try {
|
||||||
customMineConditions.add(MMOCore.plugin.loadManager.loadCondition(new MMOLineConfig(key)));
|
customMineConditions.add(MMOCore.plugin.loadManager.loadCondition(new MMOLineConfig(key)));
|
||||||
|
Loading…
Reference in New Issue
Block a user