Errors with MythicMobs in 1.16.4
Hi there,
I found some errors while using MythicMobs with latest Paper build (260) and latest MM build (3482) :
Error on killing mob, the drop is not given :
>.... [23:35:20 ERROR]: Could not pass event EntityDeathEvent to MythicMobs v4.11.0-SNAPSHOT-SNAPSHOT java.lang.NullPointerException: null at io.lumine.xikage.mythicmobs.items.MythicItem.generateItemStack(MythicItem.java:443) ~[?:?] at io.lumine.xikage.mythicmobs.drops.droppables.MythicItemDrop.getDrop(MythicItemDrop.java:23) ~[?:?] at io.lumine.xikage.mythicmobs.adapters.bukkit.BukkitSkillTriggers.onDeathTrigger(BukkitSkillTriggers.java:434) ~[?:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor355.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.4.jar:git-Paper-259] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.4.jar:git-Paper-259] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.4.jar:git-Paper-259] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.4.jar:git-Paper-259] at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:801) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntityLiving.d(EntityLiving.java:1491) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntityLiving.die(EntityLiving.java:1420) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntityLiving.damageEntity(EntityLiving.java:1262) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntityLiving.entityBaseTick(EntityLiving.java:272) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntityInsentient.entityBaseTick(EntityInsentient.java:243) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.Entity.tick(Entity.java:406) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntityLiving.tick(EntityLiving.java:2430) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntityInsentient.tick(EntityInsentient.java:306) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.EntitySlime.tick(EntitySlime.java:116) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.WorldServer.entityJoinedWorld(WorldServer.java:845) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.World.a(World.java:884) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.WorldServer.doTick(WorldServer.java:530) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1358) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1211) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:999) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-259] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
On command /mm mobs stats :
>....=>.... [23:37:49 WARN]: Unexpected exception while parsing console command "mm mobs stats" org.bukkit.command.CommandException: Unhandled exception executing command 'mm' in plugin MythicMobs v4.11.0-SNAPSHOT-SNAPSHOT at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.4.jar:git-Paper-259] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.4.jar:git-Paper-259] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:802) ~[patched_1.16.4.jar:git-Paper-259] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchServerCommand(CraftServer.java:764) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.DedicatedServer.handleCommandQueue(DedicatedServer.java:411) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:378) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1211) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:999) ~[patched_1.16.4.jar:git-Paper-259] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-259] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262] Caused by: java.lang.ClassCastException: com.destroystokyo.paper.console.TerminalConsoleCommandSender cannot be cast to org.bukkit.entity.Player at io.lumine.xikage.mythicmobs.commands.mobs.StatsCommand.onCommand(StatsCommand.java:31) ~[?:?] at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:64) ~[?:?] at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:55) ~[?:?] at io.lumine.xikage.mythicmobs.utils.commands.Command.onCommand(Command.java:55) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.4.jar:git-Paper-259] ... 9 more