fixed skills being on cooldown

This commit is contained in:
Jules 2022-01-12 19:57:20 +01:00
parent 0e1928069a
commit 1fc6bdc945

View File

@ -34,7 +34,7 @@ public class CastableSkill extends Skill {
} }
// Cooldown check // 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()); MMOCore.plugin.configManager.getSimpleMessage("casting.on-cooldown").send(playerData.getPlayer());
return false; return false;
} }