<skill.targets> var throws errors when theres no target
<skill.targets> variable throws an error when there's no targets.
the skill with the var still works when its got a target but the console error when there are no targets is unnecessary
here's the error log:
java.lang.NullPointerException: Cannot invoke "java.util.Collection.isEmpty()" because the return value of "io.lumine.mythic.api.skills.SkillMetadata.getLocationTargets()" is null at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.placeholders.all.SkillTargetsPlaceholder.apply(SkillTargetsPlaceholder.java:24) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.placeholders.all.SkillTargetsPlaceholder.apply(SkillTargetsPlaceholder.java:10) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.placeholders.PlaceholderParser.parse(PlaceholderParser.java:129) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.placeholders.parsers.PlaceholderStringImpl.get(PlaceholderStringImpl.java:48) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.conditions.all.VariableEqualsCondition.check(VariableEqualsCondition.java:57) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.SkillCondition.evaluateCaster(SkillCondition.java:255) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.MetaSkill.isUsable(MetaSkill.java:397) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.MetaSkill.isUsable(MetaSkill.java:358) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.mechanics.MetaSkillMechanic.cast(MetaSkillMechanic.java:137) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.SkillMechanic.executeSkills(SkillMechanic.java:544) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.SkillMechanic.execute(SkillMechanic.java:490) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.SkillExecutor.executeMobTimerSkills(SkillExecutor.java:287) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.core.skills.SkillExecutor.runTimerSkills(SkillExecutor.java:269) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.bukkit.clock.MythicClock.runSkillClock(MythicClock.java:181) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToConsumer.accept(Delegates.java:93) at MythicMobsPremium-5.9.1.jar//io.lumine.mythic.bukkit.utils.Schedulers$LumineTask.run(Schedulers.java:184) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1583)
Mythic version: 5.9.1-684ddf96 Bukkit version: 1.21.4-230-af71568 (MC: 1.21.4)