mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Cleanup
This commit is contained in:
1 parent
dd8c495ee6
commit
2617aa1225
5 files changed
+17
-22
No files matched your search
@@ -15,8 +15,8 @@ import com.rammelkast.anticheatreloaded.util.Utilities;
|
||||
import com.rammelkast.anticheatreloaded.util.VersionUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Marco TODO rewrite this check
|
||||
* @author Rammelkast
|
||||
* TODO rewrite this check
|
||||
*/
|
||||
public class FlightCheck {
|
||||
|
||||
@@ -28,7 +28,7 @@ public class FlightCheck {
|
||||
public static CheckResult runCheck(Player player, Distance distance) {
|
||||
if (distance.getYDifference() > AntiCheat.getManager().getBackend().getMagic().TELEPORT_MIN()
|
||||
|| VersionUtil.isFlying(player)) {
|
||||
// This was a teleport or user is flying/elyta'ing, so we don't care
|
||||
// This was a teleport or user is flying/using elytra, so we don't care
|
||||
// about it.
|
||||
return PASS;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user