From e03c577717d237e92951f41ae27fd94863807430 Mon Sep 17 00:00:00 2001 From: Evenprime Date: Sun, 5 Feb 2012 18:24:12 +0100 Subject: [PATCH] Updated default configuration --- .../evenprime/bukkit/nocheat/checks/WorkaroundsListener.java | 4 ++-- .../evenprime/bukkit/nocheat/config/DefaultConfiguration.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cc/co/evenprime/bukkit/nocheat/checks/WorkaroundsListener.java b/src/cc/co/evenprime/bukkit/nocheat/checks/WorkaroundsListener.java index 13fefaf9..90be8703 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/checks/WorkaroundsListener.java +++ b/src/cc/co/evenprime/bukkit/nocheat/checks/WorkaroundsListener.java @@ -18,11 +18,11 @@ import cc.co.evenprime.bukkit.nocheat.config.ConfigurationCacheStore; */ public class WorkaroundsListener implements Listener, EventManager { - private final NoCheat plugin; + //private final NoCheat plugin; public WorkaroundsListener(NoCheat plugin) { - this.plugin = plugin; + //this.plugin = plugin; } @EventHandler(priority = EventPriority.HIGHEST) diff --git a/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java b/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java index 2d4a946d..578599fc 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java +++ b/src/cc/co/evenprime/bukkit/nocheat/config/DefaultConfiguration.java @@ -46,7 +46,7 @@ public class DefaultConfiguration extends NoCheatConfiguration { set(ConfPaths.MOVING_RUNFLY_FLYING_ACTIONS, "log:moveshort:3:5:f cancel vl>100 log:moveshort:0:5:if cancel vl>400 log:movelong:0:5:cif cancel"); set(ConfPaths.MOVING_MOREPACKETS_CHECK, true); - set(ConfPaths.MOVING_MOREPACKETS_ACTIONS, "log:morepackets:3:2:f cancel vl>30 log:morepackets:0:2:if cancel vl>60 log:morepackets:0:2:cif cancel"); + set(ConfPaths.MOVING_MOREPACKETS_ACTIONS, "log:morepackets:3:2:if cancel vl>20 log:morepackets:0:2:if cancel"); /*** BLOCKBREAK ***/