forked from Upstream/mmocore
fixed skills being on cooldown
This commit is contained in:
parent
0e1928069a
commit
1fc6bdc945
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user