Make no-op thresholds a true no-op

This commit is contained in:
cnr 2017-04-13 02:42:35 -06:00
parent 5c5a368ebe
commit 4e82233871

View File

@ -100,7 +100,7 @@ public class AntiHack extends MiniPlugin
.put(Toggle.class, new CheckThresholds("AutoSneak", 100, 200, 300))
.build();
private static final CheckThresholds NOOP_THRESHOLD = new CheckThresholds("Unknown", 0, Integer.MAX_VALUE, Integer.MAX_VALUE);
private static final CheckThresholds NOOP_THRESHOLD = new CheckThresholds("Unknown", Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);
private static final Map<Class<? extends Check>, AntiHackAction> ACTIONS = ImmutableMap.<Class<? extends Check>, AntiHackAction>builder()
.put(KillauraTypeA.class, new ImmediateBanAction(200))