mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Major improvements to movement related checks, including Waterwalk and Fly specifically. Improved because they're teleported back to their recorded good location, not the getFrom() from the event.
This commit is contained in:
1 parent
e0a12cb0ef
commit
994e2be704
6 files changed
+206
-55
No files matched your search
@@ -160,6 +160,10 @@ public class Magic
|
||||
* Number of times a player can be caught in-flight before action is taken; Type=integer, +Leniency=Increase.
|
||||
*/
|
||||
public final int FLIGHT_LIMIT;
|
||||
/**
|
||||
* How many blocks you can travel before action is taken; Type=integer, +Leniency=Increase.
|
||||
*/
|
||||
public final double FLIGHT_BLOCK_LIMIT;
|
||||
/**
|
||||
* Maximum speed that a player can climb a waterfall; Type=double, +Leniency=Increase.
|
||||
*/
|
||||
@@ -362,6 +366,7 @@ public class Magic
|
||||
CHAT_KICK_LEVEL = getInt("CHAT_KICK_LEVEL");
|
||||
CHAT_BAN_LEVEL = getInt("CHAT_BAN_LEVEL");
|
||||
FLIGHT_LIMIT = getInt("FLIGHT_LIMIT");
|
||||
FLIGHT_BLOCK_LIMIT = getDouble("FLIGHT_BLOCK_LIMIT");
|
||||
WATER_CLIMB_MAX = getDouble("WATER_CLIMB_MAX");
|
||||
Y_MAXVIOLATIONS = getInt("Y_MAXVIOLATIONS");
|
||||
Y_MAXVIOTIME = getInt("Y_MAXVIOTIME");
|
||||
|
||||
Reference in new issue
Block a user