null error after plugin update
Summary
When I updated from 5.0.0 to 5.0.2, I got an error. I wonder why it happens.
Steps to reproduce
Update myticmobs.
Current behavior
When the server is running, the message appears, and there seems to be no problem with the operation.
Intended correct behavior
The message should not appear.
Server log file
[09:25:33 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task
[09:25:33 WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.mythic.api.adapters.AbstractEntity.isValid()" because "this.entity" is null
[09:25:33 WARN]: at MythicMobs-5.0.2-SNAPSHOT.jar//io.lumine.mythic.core.mobs.ActiveMob.setupNew(ActiveMob.java:153)
[09:25:33 WARN]: at MythicMobs-5.0.2-SNAPSHOT.jar//io.lumine.mythic.core.mobs.ActiveMob.lambda$new$0(ActiveMob.java:123)
[09:25:33 WARN]: at MythicMobs-5.0.2-SNAPSHOT.jar//io.lumine.mythic.utils.Delegates$RunnableToSupplier.get(Delegates.java:121)
[09:25:33 WARN]: at MythicMobs-5.0.2-SNAPSHOT.jar//io.lumine.mythic.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654)
[09:25:33 WARN]: at MythicMobs-5.0.2-SNAPSHOT.jar//io.lumine.mythic.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70)
[09:25:33 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101)
[09:25:33 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[09:25:33 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1584)
[09:25:33 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:519)
[09:25:33 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1507)
[09:25:33 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1294)
[09:25:33 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:322)
[09:25:33 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)