Mythic Crucible throwing NPE when a MM ItemStack is loaded
I have the following MythicMobs Item configured:
Wasserbeutel:
ItemStack:
==: org.bukkit.inventory.ItemStack
v: 2730
type: POTION
meta:
==: ItemMeta
meta-type: POTION
display-name: '{"extra":[{"italic":false,"color":"gold","text":"Wasserbeutel"}],"text":""}'
lore:
- '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"dark_green","text":"Gewöhnlich"}],"text":""}'
- '{"text":""}'
- '{"extra":[{"italic":false,"color":"dark_gray","text":"Ein Beutel, gefüllt
mit Wasser."}],"text":""}'
potion-type: minecraft:mundane
This item is causing the following error in the console:
[20:09:26 WARN]: [MythicMobs] Failed to load Artifact skills for item Wasserbeutel
[20:09:26 WARN]: java.lang.NullPointerException: Cannot invoke "org.bukkit.Material.toString()" because the return value of "io.lumine.mythic.core.items.MythicItem.getMaterial()" is null
[20:09:26 WARN]: at MythicCrucible-1.5.0-SNAPSHOT.jar//io.lumine.mythiccrucible.items.ItemManager.loadItems(ItemManager.java:127)
[20:09:26 WARN]: at MythicCrucible-1.5.0-SNAPSHOT.jar//io.lumine.mythiccrucible.items.ItemManager.lambda$load$1(ItemManager.java:100)
[20:09:26 WARN]: at MythicMobs-5.2.0-SNAPSHOT(Premium).jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[20:09:26 WARN]: at MythicMobs-5.2.0-SNAPSHOT(Premium).jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[20:09:26 WARN]: at MythicMobs-5.2.0-SNAPSHOT(Premium).jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[20:09:26 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101)
[20:09:26 WARN]: at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[20:09:26 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1567)
[20:09:26 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:490)
[20:09:26 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1483)
[20:09:26 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1282)
[20:09:26 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[20:09:26 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
I am using the following Plugin version on the latest version of PaperMC 1.17.1: MythicMobs:
[20:35:12 INFO]: Server Version: org.bukkit.craftbukkit.v1_17_R1 (Paper)
[20:35:12 INFO]: Plugin Version: 5.2.0
[20:35:12 INFO]: Plugin Build: 4eeb7e0a
[20:35:12 INFO]: Is Premium: Yes
[20:35:12 INFO]: Is Dev Build: Yes
[20:35:12 INFO]: Supported Version: Yes
MythicCrucuible: 1.5.0-SNAPSHOT