Lowered the block-place/block-break limit for slower servers, this should still keep those hacks blocked though.

This commit is contained in:
Adam committed 2012-05-17 19:20:22 -04:00
1 parent 536eebb7ba
commit 2ce2235280
2 files changed
+3 -3

No files matched your search

@@ -43,7 +43,7 @@ import org.bukkit.entity.Player;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
public class Anticheat extends JavaPlugin
public class Anticheat extends JavaPlugin
{
private static Anticheat plugin;
private final List<Listener> eventList = new ArrayList<Listener>();
@@ -55,8 +55,8 @@ public class Backend
public static final int CHAT_MIN = 100;
public static final int BOW_MIN = 2;
public static final int SPRINT_MIN = 2;
public static final int BLOCK_BREAK_MIN = 2;
public static final long BLOCK_PLACE_MIN = 1/2;
public static final int BLOCK_BREAK_MIN = 1;
public static final long BLOCK_PLACE_MIN = 1/3;
public static final double BLOCK_MAX_DISTANCE = 6.0;
public static final double ENTITY_MAX_DISTANCE = 5.5;