mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Fix #205
This commit is contained in:
1 parent
b27ffc9842
commit
f123e397b6
4 files changed
+20
-14
No files matched your search
@@ -38,6 +38,7 @@ import com.rammelkast.anticheatreloaded.config.providers.Checks;
|
||||
import com.rammelkast.anticheatreloaded.util.MovementManager;
|
||||
import com.rammelkast.anticheatreloaded.util.User;
|
||||
import com.rammelkast.anticheatreloaded.util.Utilities;
|
||||
import com.rammelkast.anticheatreloaded.util.VersionUtil;
|
||||
|
||||
public final class KillAuraCheck {
|
||||
|
||||
@@ -98,7 +99,7 @@ public final class KillAuraCheck {
|
||||
final Entity entity = event.getEntity();
|
||||
|
||||
// Do not check while in vehicles
|
||||
if (player.getVehicle() != null || entity.getVehicle() != null || player.isRiptiding()) {
|
||||
if (player.getVehicle() != null || entity.getVehicle() != null || VersionUtil.isRiptiding(player)) {
|
||||
return PASS;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user