mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
And sneaking while flying is fixed (again)
This commit is contained in:
1 parent
65e0509117
commit
33dadf6ad7
1 file changed
+1
-1
@@ -199,7 +199,7 @@ public class Backend
|
||||
|
||||
public boolean checkSneak(Player player,double x,double z)
|
||||
{
|
||||
if(player.isSneaking())
|
||||
if(player.isSneaking() && !player.isFlying())
|
||||
{
|
||||
return x > XZ_SPEED_MAX_SNEAK || z > XZ_SPEED_MAX_SNEAK;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user