From 83dcba2c0a3d56e59ca4f60226e414e1e61d6755 Mon Sep 17 00:00:00 2001 From: Ka0rX Date: Sun, 9 Jul 2023 19:18:06 +0100 Subject: [PATCH] Reformat --- .../src/main/java/net/Indyuce/mmocore/skill/ClassSkill.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/skill/ClassSkill.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/skill/ClassSkill.java index 6f8ee174..3de8f4d1 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/skill/ClassSkill.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/skill/ClassSkill.java @@ -151,7 +151,11 @@ public class ClassSkill implements CooldownObject, Unlockable { Placeholders placeholders = new Placeholders(); parameters.keySet() .forEach(param -> { - placeholders.register(param, skill.getDecimalFormat(param).format(data.getMMOPlayerData().getSkillModifierMap().getInstance(skill.getHandler(), param).getTotal(parameters.get(param).calculate(x)))); + placeholders.register(param, skill.getDecimalFormat(param).format(data + .getMMOPlayerData() + .getSkillModifierMap() + .getInstance(skill.getHandler(), param) + .getTotal(parameters.get(param).calculate(x)))); }); placeholders.register("mana_name", data.getProfess().getManaDisplay().getName()); placeholders.register("mana_color", data.getProfess().getManaDisplay().getFull().toString());