[BUG] holding condition mmoitems
vanilla and mythicmob item work fine
holding not mmoitems and cast the skill will parse error below
holding mmoitems the skill excute say A instead of say B
mmoitems holding condition work fine if the item from mmoitem, its parse error below when cast the skill while holding nothing or item not from mmoitem
skill_A:
Conditions:
- holding{m=mmoitems.SWORD.TEST} castinstead skill_B
Skills:
- command{c="say A"} @Self
skill_B:
Skills:
- command{c="say B"} @Self
[23:37:27] [Server thread/WARN]: [MythicMobs] ✗ Configuration Error in Condition holding
[23:37:27] [Server thread/WARN]: [MythicMobs] --| Error Message: An internal error occurred
[23:37:27] [Server thread/WARN]: [MythicMobs] --| Condition Line: holding{m=mmoitems.SWORD.TEST} castinstead skill_B
[23:37:27] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.mythic.core.utils.jnbt.Tag.getValue()" because "tag" is null
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.core.utils.jnbt.CompoundTag.getString(CompoundTag.java:446)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.bukkit.adapters.BukkitItemStack.isSimilar(BukkitItemStack.java:165)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.core.skills.conditions.all.HoldingCondition.check(HoldingCondition.java:48)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.core.skills.SkillCondition.evaluateCaster(SkillCondition.java:217)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.core.skills.MetaSkill.isUsable(MetaSkill.java:250)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.bukkit.BukkitAPIHelper.castSkill(BukkitAPIHelper.java:177)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.bukkit.BukkitAPIHelper.castSkill(BukkitAPIHelper.java:140)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.bukkit.commands.test.CastCommand.onCommand(CastCommand.java:46)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.bukkit.utils.commands.Command.onCommand(Command.java:64)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.bukkit.utils.commands.Command.onCommand(Command.java:55)
[23:37:27] [Server thread/WARN]: at MythicMobs-5.4.0-SNAPSHOT (4).jar//io.lumine.mythic.bukkit.utils.commands.Command.onCommand(Command.java:61)
[23:37:27] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[23:37:27] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155)
[23:37:27] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:1007)
[23:37:27] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_20_R1.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64)
[23:37:27] [Server thread/WARN]: at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:265)
[23:37:27] [Server thread/WARN]: at net.minecraft.commands.CommandDispatcher.performCommand(CommandDispatcher.java:324)
[23:37:27] [Server thread/WARN]: at net.minecraft.commands.CommandDispatcher.a(CommandDispatcher.java:308)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2354)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.network.PlayerConnection.lambda$handleChatCommand$21(PlayerConnection.java:2314)
[23:37:27] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.b(IAsyncTaskHandler.java:59)
[23:37:27] [Server thread/WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18)
[23:37:27] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[23:37:27] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1338)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197)
[23:37:27] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1315)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1308)
[23:37:27] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.p_(MinecraftServer.java:1286)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174)
[23:37:27] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317)
[23:37:27] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833)