mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 22:15:28 +00:00
Lowered the block-place/block-break limit for slower servers, this should still keep those hacks blocked though.
This commit is contained in:
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.event.Listener;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
public class Anticheat extends JavaPlugin
|
public class Anticheat extends JavaPlugin
|
||||||
{
|
{
|
||||||
private static Anticheat plugin;
|
private static Anticheat plugin;
|
||||||
private final List<Listener> eventList = new ArrayList<Listener>();
|
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 CHAT_MIN = 100;
|
||||||
public static final int BOW_MIN = 2;
|
public static final int BOW_MIN = 2;
|
||||||
public static final int SPRINT_MIN = 2;
|
public static final int SPRINT_MIN = 2;
|
||||||
public static final int BLOCK_BREAK_MIN = 2;
|
public static final int BLOCK_BREAK_MIN = 1;
|
||||||
public static final long BLOCK_PLACE_MIN = 1/2;
|
public static final long BLOCK_PLACE_MIN = 1/3;
|
||||||
|
|
||||||
public static final double BLOCK_MAX_DISTANCE = 6.0;
|
public static final double BLOCK_MAX_DISTANCE = 6.0;
|
||||||
public static final double ENTITY_MAX_DISTANCE = 5.5;
|
public static final double ENTITY_MAX_DISTANCE = 5.5;
|
||||||
|
|||||||
Reference in new issue
Block a user