[Bug Report] Error when leaving a dungeon
This error only occur sometimes
[22:35:17 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.world.WorldUnloadEvent
[22:35:17 WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.mythic.api.adapters.AbstractLocation.getWorld()" because "this.startLocation" is null
[22:35:17 WARN]: at MythicMobs-5.1.0.jar//io.lumine.mythic.core.skills.projectiles.Projectile$ProjectileTracker.lambda$start$2(Projectile.java:436)
[22:35:17 WARN]: at MythicMobs-5.1.0.jar//io.lumine.mythic.bukkit.utils.events.functional.single.EventListener.execute(EventListener.java:115)
[22:35:17 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[22:35:17 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[22:35:17 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669)
[22:35:17 WARN]: at org.bukkit.craftbukkit.v1_18_R2.CraftServer.unloadWorld(CraftServer.java:1300)
[22:35:17 WARN]: at org.bukkit.Bukkit.unloadWorld(Bukkit.java:789)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.dungeons.Instance.lambda$dispose$2(Instance.java:459)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.utility.ProcessTimer.run(ProcessTimer.java:9)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.dungeons.Instance.lambda$dispose$4(Instance.java:459)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.utility.ProcessTimer.run(ProcessTimer.java:9)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.dungeons.Instance.dispose(Instance.java:397)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.listeners.InstanceListener.onPlayerLeaveDungeon(InstanceListener.java:68)
[22:35:17 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1203.execute(Unknown Source)
[22:35:17 WARN]: at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75)
[22:35:17 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[22:35:17 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[22:35:17 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669)
[22:35:17 WARN]: at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:993)
[22:35:17 WARN]: at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:826)
[22:35:17 WARN]: at org.bukkit.craftbukkit.v1_18_R2.entity.CraftPlayer.teleport(CraftPlayer.java:1193)
[22:35:17 WARN]: at org.bukkit.craftbukkit.v1_18_R2.entity.CraftEntity.teleport(CraftEntity.java:558)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.dungeons.Instance.removePlayer(Instance.java:587)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.dungeons.functions.FunctionFinishDungeon.runFunction(FunctionFinishDungeon.java:73)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.api.parents.DungeonFunction.execute(DungeonFunction.java:196)
[22:35:17 WARN]: at MythicDungeons-1.0.3.jar//net.playavalon.mythicdungeons.api.parents.DungeonTrigger$1.run(DungeonTrigger.java:225)
[22:35:17 WARN]: at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101)
[22:35:17 WARN]: at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[22:35:17 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1532)
[22:35:17 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:483)
[22:35:17 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1456)
[22:35:17 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1226)
[22:35:17 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
[22:35:17 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[22:35:17 INFO]: [MythicDungeons] [STDOUT] §x-= Unloading world aether_0 processed in 32ms. =-
[22:35:17 INFO]: [MythicDungeons] [STDOUT] §x-= Cleaning up aether_0 processed in 88ms. =-