mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Fixed Glide false positives (again :S) and updated pastebinreport.java
This commit is contained in:
1 parent
7fcf4cc7d4
commit
3990e73100
2 files changed
+3
-4
No files matched your search
@@ -42,7 +42,7 @@ public class GlideCheck {
|
||||
glideBuffer.put(name, 0);
|
||||
int currentBuffer = glideBuffer.get(name);
|
||||
glideBuffer.put(name, currentBuffer + 1);
|
||||
if((currentBuffer + 1) >= AntiCheat.getManager().getBackend().getMagic().GLIDE_LIMIT())
|
||||
if(currentBuffer >= AntiCheat.getManager().getBackend().getMagic().GLIDE_LIMIT())
|
||||
{
|
||||
double fallDist = distanceToFall(player.getLocation());
|
||||
player.teleport(player.getLocation().add(0, -fallDist, 0));
|
||||
|
||||
Reference in new issue
Block a user