From 1fc6bdc945f7411cb22804db54eb25feb2d84f66 Mon Sep 17 00:00:00 2001 From: Jules Date: Wed, 12 Jan 2022 19:57:20 +0100 Subject: [PATCH] fixed skills being on cooldown --- src/main/java/net/Indyuce/mmocore/skill/CastableSkill.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmocore/skill/CastableSkill.java b/src/main/java/net/Indyuce/mmocore/skill/CastableSkill.java index 257b67bf..7985050e 100644 --- a/src/main/java/net/Indyuce/mmocore/skill/CastableSkill.java +++ b/src/main/java/net/Indyuce/mmocore/skill/CastableSkill.java @@ -34,7 +34,7 @@ public class CastableSkill extends Skill { } // Cooldown check - if (!skillMeta.getCaster().getData().getCooldownMap().isOnCooldown(this)) { + if (skillMeta.getCaster().getData().getCooldownMap().isOnCooldown(this)) { MMOCore.plugin.configManager.getSimpleMessage("casting.on-cooldown").send(playerData.getPlayer()); return false; }