mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Players walking on half-slabs over air should not trigger fly checks
This commit is contained in:
1 parent
b508aa0fed
commit
a95f05d683
3 files changed
+2
-2
No files matched your search
Whitespace-only changes.
@@ -217,7 +217,7 @@ public class Backend
|
||||
if(y1 == y2 && !isMovingExempt(player) && player.getVehicle() == null && player.getFallDistance() == 0 && !Utilities.isOnLilyPad(player))
|
||||
{
|
||||
String name = player.getName();
|
||||
if(Utilities.cantStandAt(block) && !Utilities.isOnLilyPad(player))
|
||||
if(Utilities.cantStandAt(block) && !Utilities.isOnLilyPad(player) && !Utilities.canStand(player.getLocation().getBlock()))
|
||||
{
|
||||
int violation = 1;
|
||||
if(!flightViolation.containsKey(name))
|
||||
|
||||
@@ -12,6 +12,6 @@ Events:
|
||||
|
||||
System:
|
||||
#Turning auto-update off is a _BAD_ idea. You will no longer be protected by the latest hacks/cheats if you do so.
|
||||
#AntiCheat will never bother you about updates if this is on, but if you turn it off you will have to manuall update.
|
||||
#AntiCheat will never bother you about updates if this is on, but if you turn it off you will have to manually update.
|
||||
Auto update: true
|
||||
Log to console: false
|
||||
Reference in new issue
Block a user