From 164fd9c5c819ad69d3e61783a7c9b7c42ca9190d Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 16 Dec 2021 13:40:33 +0100 Subject: [PATCH] fixed an issue with MM skill placeholders --- .../mmoitems/comp/mythicmobs/skill/MythicMobsAbility.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/Indyuce/mmoitems/comp/mythicmobs/skill/MythicMobsAbility.java b/src/main/java/net/Indyuce/mmoitems/comp/mythicmobs/skill/MythicMobsAbility.java index b75fcba0..926e38fb 100644 --- a/src/main/java/net/Indyuce/mmoitems/comp/mythicmobs/skill/MythicMobsAbility.java +++ b/src/main/java/net/Indyuce/mmoitems/comp/mythicmobs/skill/MythicMobsAbility.java @@ -70,7 +70,7 @@ public class MythicMobsAbility extends Ability { // Stats are cached inside a variable skillMeta.getVariables().putObject("MMOStatMap", attackMeta.getStats()); - skillMeta.getVariables().putObject("MMOSkill", data.getAbility()); + skillMeta.getVariables().putObject("MMOSkill", data); return new MythicMobsAbilityMetadata(data, skill, skillMeta); }