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
@@ -124,7 +124,8 @@ public class SpeedCheck {
|
||||
&& !VersionUtil.isRiptiding(player)
|
||||
&& !Utilities.isNearBed(distance.getTo())
|
||||
&& !Utilities.isSlime(AntiCheatReloaded.getManager().getUserManager().getUser(player.getUniqueId())
|
||||
.getGoodLocation(player.getLocation()).getBlock())) {
|
||||
.getGoodLocation(player.getLocation()).getBlock())
|
||||
&& !Utilities.couldBeOnBoat(player)) {
|
||||
return new CheckResult(CheckResult.Result.FAILED,
|
||||
"y speed was too high (speed=" + distance.getYDifference() + ", max=" + backend.getMagic().Y_SPEED_MAX() + ")");
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user