Reduced internal minimum spell cooldown from 5 to 2 ticks

This commit is contained in:
Auxilor 2021-04-08 00:06:10 +01:00
parent e248a2289a
commit 3e9fcca246

View File

@ -146,7 +146,7 @@ public abstract class Spell extends EcoEnchant {
return;
}
preventDuplicateList.add(player.getUniqueId());
this.getPlugin().getScheduler().runLater(() -> preventDuplicateList.remove(player.getUniqueId()), 5);
this.getPlugin().getScheduler().runLater(() -> preventDuplicateList.remove(player.getUniqueId()), 2);
if (player.getGameMode() == GameMode.SPECTATOR) {
return;