Doppleganger Null Pointer Excption Error
Summary
I was testing out the doppleganger machanic in mythicmobs. I reloaded mm and spawned in the mob, a few seconds later the error came up in my console and there was no sign of a doppleganger.
Steps to reproduce
https://pastebin.com/y3jzXxae Make a mob with a skill of doppleganger and spawn it.
Current behavior
Nothing but the error in the console
Intended correct behavior
The doppleganger should have spawned
Debug log snippet
18:25:35 WARN: at io.lumine.xikage.mythicmobs.skills.mechanics.DopplegangerMechanic.castAtEntity(DopplegangerMechanic.java:45) 18:25:35 WARN: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$5(SkillMechanic.java:450) 18:25:35 WARN: at java.lang.Iterable.forEach(Iterable.java:75) 18:25:35 WARN: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:446) 18:25:35 WARN: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeSkills$1(SkillMechanic.java:397) 18:25:35 WARN: at io.lumine.xikage.mythicmobs.utils.Delegates$RunnableToSupplier.get(Delegates.java:121) 18:25:35 WARN: at io.lumine.xikage.mythicmobs.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654) 18:25:35 WARN: at io.lumine.xikage.mythicmobs.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70) 18:25:35 WARN: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) 18:25:35 WARN: at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) 18:25:35 WARN: at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1289) 18:25:35 WARN: at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377) 18:25:35 WARN: at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1204) 18:25:35 WARN: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:992) 18:25:35 WARN: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) 18:25:35 WARN: at java.lang.Thread.run(Thread.java:748)