mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
Fixed spring anticheat integration
This commit is contained in:
parent
7a2aa52813
commit
861df9a067
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user