Teleport error using warp essentals
When you set warp with plugin essentials on another world, and use that warp, players is kicked from server to lobby (bungecord setup)
Paper 1.18.2 Plugin version: 0.5.0
[06:00:42] [Server thread/ERROR]: [MCCosmetics] [31m[EVENTS] Exception thrown whilst handling event: org.bukkit.event.player.PlayerChangedWorldEvent[37m [06:00:42] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.cosmetics.players.Profile.getEquipped(java.lang.Class)" because "profile" is null [06:00:42] [Server thread/WARN]: at MCCosmetics.jar//io.lumine.cosmetics.managers.back.BackManager.lambda$load$1(BackManager.java:34) [06:00:42] [Server thread/WARN]: at MCCosmetics.jar//io.lumine.cosmetics.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144) [06:00:42] [Server thread/WARN]: at MCCosmetics.jar//io.lumine.cosmetics.utils.events.functional.single.EventListener.execute(EventListener.java:131) [06:00:42] [Server thread/WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) [06:00:42] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [06:00:42] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) [06:00:42] [Server thread/WARN]: at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:993) [06:00:42] [Server thread/WARN]: at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:826) [06:00:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R2.entity.CraftPlayer.teleport(CraftPlayer.java:1193) [06:00:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R2.entity.CraftEntity.lambda$teleportAsync$0(CraftEntity.java:542) [06:00:42] [Server thread/WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1400) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:126) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.be(MinecraftServer.java:1377) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1370) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1348) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1230) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) [06:00:42] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833) [06:00:42] [Server thread/ERROR]: [MCCosmetics] [31m[EVENTS] Exception thrown whilst handling event: org.bukkit.event.player.PlayerChangedWorldEvent[37m [06:00:42] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.cosmetics.players.Profile.getEquipped(java.lang.Class)" because "profile" is null [06:00:42] [Server thread/WARN]: at MCCosmetics.jar//io.lumine.cosmetics.managers.modelengine.MEGManager.lambda$load$4(MEGManager.java:62) [06:00:42] [Server thread/WARN]: at MCCosmetics.jar//io.lumine.cosmetics.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144) [06:00:42] [Server thread/WARN]: at MCCosmetics.jar//io.lumine.cosmetics.utils.events.functional.single.EventListener.execute(EventListener.java:131) [06:00:42] [Server thread/WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) [06:00:42] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [06:00:42] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) [06:00:42] [Server thread/WARN]: at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:993) [06:00:42] [Server thread/WARN]: at net.minecraft.server.players.PlayerList.respawn(PlayerList.java:826) [06:00:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R2.entity.CraftPlayer.teleport(CraftPlayer.java:1193) [06:00:42] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R2.entity.CraftEntity.lambda$teleportAsync$0(CraftEntity.java:542) [06:00:42] [Server thread/WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1400) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:188) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.y(IAsyncTaskHandler.java:126) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.be(MinecraftServer.java:1377) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1370) [06:00:42] [Server thread/WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1348) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1230) [06:00:42] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) [06:00:42] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833)