mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fixed false positives with boats, changes to MorePackets
This commit is contained in:
1 parent
db9aa97ca1
commit
610d53550f
6 files changed
+32
-4
No files matched your search
@@ -798,6 +798,11 @@ public class Backend {
|
||||
public void logExitFly(final Player player) {
|
||||
FlightCheck.MOVING_EXEMPT.put(player.getUniqueId(), System.currentTimeMillis() + magic.EXIT_FLY_TIME());
|
||||
}
|
||||
|
||||
public void logBoatCollision(final Player player) {
|
||||
// TODO config
|
||||
FlightCheck.MOVING_EXEMPT.put(player.getUniqueId(), System.currentTimeMillis() + 100 /* 2 ticks */);
|
||||
}
|
||||
|
||||
public void logJoin(final Player player) {
|
||||
FlightCheck.MOVING_EXEMPT.put(player.getUniqueId(), System.currentTimeMillis() + magic.JOIN_TIME());
|
||||
|
||||
Reference in new issue
Block a user