mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fixed descending waterfalls (or climbing out of them to get air) and a few logging issues.
This commit is contained in:
1 parent
077f67f900
commit
9253a93fe0
4 files changed
+47
-33
No files matched your search
@@ -80,19 +80,14 @@ public class User
|
||||
if(level == med)
|
||||
{
|
||||
Anticheat.getManager().getUserManager().alertMed(this, type);
|
||||
return true;
|
||||
}
|
||||
else if(level == high)
|
||||
{
|
||||
Anticheat.getManager().getUserManager().alertHigh(this, type);
|
||||
// Prevent the player from going over the high limit
|
||||
level = high-10;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user