Fixed spring anticheat integration

This commit is contained in:
Auxilor 2021-08-05 14:53:31 +01:00
parent 7a2aa52813
commit 861df9a067

View File

@ -34,6 +34,6 @@ public class Spring extends EcoEnchant {
double multiplier = 0.5 + ((double) (level * level) / 4 - 0.2) / 3;
player.setVelocity(player.getLocation().getDirection().multiply(multiplier).setY(multiplier));
this.getPlugin().getScheduler().runLater(() -> AnticheatManager.unexemptPlayer(player), 10);
this.getPlugin().getScheduler().runLater(() -> AnticheatManager.unexemptPlayer(player), 100);
}
}