mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2025-01-23 21:41:20 +01:00
REVERT: insta break hook needs to be enabled, currently (slightly
mysterious).
This commit is contained in:
parent
5d43f83351
commit
122848d04b
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user