From eae6bdc967bad80c096f3eeaef5351c7060e548b Mon Sep 17 00:00:00 2001 From: Evenprime Date: Sun, 27 Feb 2011 18:50:21 +0100 Subject: [PATCH] mostly a revert to values from 0.5.7 --- plugin.yml | 2 +- src/cc/co/evenprime/bukkit/nocheat/MovingCheck.java | 4 ++-- src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin.yml b/plugin.yml index 3bc89138..06a1e89f 100644 --- a/plugin.yml +++ b/plugin.yml @@ -3,5 +3,5 @@ name: NoCheatPlugin author: Evenprime main: cc.co.evenprime.bukkit.nocheat.NoCheatPlugin -version: 0.5.8 +version: 0.5.9 diff --git a/src/cc/co/evenprime/bukkit/nocheat/MovingCheck.java b/src/cc/co/evenprime/bukkit/nocheat/MovingCheck.java index 80eea826..132b7406 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/MovingCheck.java +++ b/src/cc/co/evenprime/bukkit/nocheat/MovingCheck.java @@ -25,8 +25,8 @@ public class MovingCheck { private static final int NONE = 0; // Limits for the moving check - public static double movingDistanceLow = 0.05D; - public static double movingDistanceMed = 0.15D; + public static double movingDistanceLow = 0.1D; + public static double movingDistanceMed = 2.0D; public static double movingDistanceHigh = 5.0D; // Block types that may be treated specially diff --git a/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java b/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java index edaaf53c..8ff226a0 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java +++ b/src/cc/co/evenprime/bukkit/nocheat/NoCheatConfiguration.java @@ -100,7 +100,7 @@ public class NoCheatConfiguration { movingLogOnly = c.getBoolean("moving.logonly", false); movingFreeMoves = c.getInt("moving.freemoves", 10); - if(movingFreeMoves < 5) movingFreeMoves = 5; + if(movingFreeMoves < 10) movingFreeMoves = 10; } /**