From 3e9fcca246377dc500f4a9016ed868e6c716ef3c Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 8 Apr 2021 00:06:10 +0100 Subject: [PATCH] Reduced internal minimum spell cooldown from 5 to 2 ticks --- .../com/willfp/ecoenchants/enchantments/itemtypes/Spell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/itemtypes/Spell.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/itemtypes/Spell.java index 7108b63f..ce16d5d3 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/itemtypes/Spell.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/itemtypes/Spell.java @@ -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;