mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-28 00:55:29 +01:00
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() {
|
||||
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)));
|
||||
|
Loading…
Reference in New Issue
Block a user