Also added extra KillAura check and fixed compatibility issues
This commit is contained in:
Rammelkast committed 2020-04-07 20:40:04 +02:00
1 parent 7c9a05ff92
commit 661718d001
11 files changed
+159 -54

No files matched your search

@@ -82,7 +82,7 @@ public class FlightCheck {
}
public static boolean isMovingExempt(Player player) {
return isDoing(player, MOVING_EXEMPT, -1);
return isDoing(player, MOVING_EXEMPT, -1) || player.isInsideVehicle();
}
private static boolean isDoing(Player player, Map<UUID, Long> map, double max) {