mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed Glide false positive
This commit is contained in:
1 parent
cb81a431d1
commit
1696ba6ac1
3 files changed
+7
-2
No files matched your search
@@ -36,7 +36,7 @@ public class GlideCheck {
|
||||
{
|
||||
if(math <= lastYDelta.get(name) && !(player.getEyeLocation().getBlock().getType() == Material.LADDER)
|
||||
&& !Utilities.isInWater(player) && !Utilities.isInWeb(player)
|
||||
&& Utilities.cantStandAtSingle(player.getLocation().getBlock()))
|
||||
&& Utilities.cantStandAt(player.getLocation().getBlock()))
|
||||
{
|
||||
if(!glideBuffer.containsKey(name))
|
||||
glideBuffer.put(name, 0);
|
||||
|
||||
Reference in new issue
Block a user