mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-25 20:17:38 +01:00
Reduced internal minimum spell cooldown from 5 to 2 ticks
This commit is contained in:
parent
e248a2289a
commit
3e9fcca246
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user