REVERT: insta break hook needs to be enabled, currently (slightly

mysterious).
This commit is contained in:
asofold 2012-09-13 18:10:02 +02:00
parent 5d43f83351
commit 122848d04b
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ VERSION HISTORY
---------------------------
(6.2.2)
- (adjust) Also exempt mcMMO from WrongBlock check, disable insta break hook (for ncp 88+), limit to 20 blcokbreaks per second by default.
- (adjust) Also exempt mcMMO from WrongBlock check, limit to 20 blockbreaks per second by default.
(6.2.1)
- (bugfix) Fix priorities of InstaBreak hook.

View File

@ -29,7 +29,7 @@ public class HookInstaBreak extends AbstractHook implements ConfigurableHook, Li
@Override
public String getHookVersion() {
return "1.1";
return "1.0";
}
@Override
@ -40,7 +40,7 @@ public class HookInstaBreak extends AbstractHook implements ConfigurableHook, Li
@Override
public boolean updateConfig(CompatConfig cfg, String prefix) {
CompatConfig defaults = CompatConfigFactory.getConfig(null);
defaults.set(prefix + "insta-break.enabled", false);
defaults.set(prefix + "insta-break.enabled", true);
return ConfigUtil.forceDefaults(defaults, cfg);
}