mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Fixed issue #932 about Out of Mana message not being sent when it should.
This commit is contained in:
parent
3fa278a920
commit
2a802e40bf
@ -66,7 +66,7 @@ public class CastableSkill extends Skill {
|
||||
|
||||
// Mana cost
|
||||
if (playerData.getMana() < getParameter("mana")) {
|
||||
if (loud) new ConfigMessage("casting.no-mana").addPlaceholders(
|
||||
if (loud) MMOCore.plugin.configManager.getSimpleMessage("casting.no-mana",
|
||||
"mana-required", MythicLib.plugin.getMMOConfig().decimal.format((getParameter("mana") - playerData.getMana())),
|
||||
"mana", playerData.getProfess().getManaDisplay().getName()).send(playerData.getPlayer());
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user