Paper MC 1.19.3 [EVENT] Exception thrown whilst handling event: org.bukkit.event.player.PlayerQuitEvent + ERROR
Paper 1.19.3 build 404 + Velocity 3.2.0 + MCCosmetic 0.11.0
How can fix it? Does it require a plugin update? Any chance for a fix update of the plugin in March?
[13:17:45 ERROR]: [MCCosmetics] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.player.PlayerQuitEvent
[13:17:45 WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.cosmetics.playeranimator.api.nms.INMSHandler.removePlayer(org.bukkit.entity.Player)" because the return value of "io.lumine.cosmetics.playeranimator.PlayerAnimatorImpl.getNms()" is null
[13:17:45 WARN]: at MCCosmetics.jar//io.lumine.cosmetics.playeranimator.PlayerAnimatorImpl.removePlayer(PlayerAnimatorImpl.java:38)
[13:17:45 WARN]: at MCCosmetics.jar//io.lumine.cosmetics.managers.gestures.GestureManager.lambda$load$1(GestureManager.java:41)
[13:17:45 WARN]: at MCCosmetics.jar//io.lumine.cosmetics.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144)
[13:17:45 WARN]: at MCCosmetics.jar//io.lumine.cosmetics.utils.events.functional.single.EventListener.execute(EventListener.java:131)
[13:17:45 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[13:17:45 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[13:17:45 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:672)
[13:17:45 WARN]: at net.minecraft.server.players.PlayerList.remove(PlayerList.java:578)
[13:17:45 WARN]: at net.minecraft.server.players.PlayerList.remove(PlayerList.java:563)
[13:17:45 WARN]: at net.minecraft.server.network.PlayerConnection.onDisconnect(PlayerConnection.java:2119)
[13:17:45 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2098)
[13:17:45 WARN]: at net.minecraft.network.NetworkManager.m(NetworkManager.java:777)
[13:17:45 WARN]: at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:253)
[13:17:45 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1565)
[13:17:45 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447)
[13:17:45 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1397)
[13:17:45 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1173)
[13:17:45 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
[13:17:45 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[13:17:45 ERROR]: Could not pass event PlayerQuitEvent to MCCosmetics v0.11.0-ad82d280
java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_19_R1/entity/CraftPlayer
at io.lumine.cosmetics.nms.VolatileCodeEnabled_v1_19_R1_2.removePlayer(VolatileCodeEnabled_v1_19_R1_2.java:90) ~[MCCosmetics.jar:?]
at io.lumine.cosmetics.listeners.PlayerListeners.onPlayerQuit(PlayerListeners.java:18) ~[MCCosmetics.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor591.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:git-Paper-404]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:672) ~[paper-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.players.PlayerList.remove(PlayerList.java:578) ~[paper-1.19.3.jar:git-Paper-404]
at net.minecraft.server.players.PlayerList.remove(PlayerList.java:563) ~[paper-1.19.3.jar:git-Paper-404]
at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2119) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2098) ~[?:?]
at net.minecraft.network.Connection.handleDisconnection(Connection.java:777) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:253) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[paper-1.19.3.jar:git-Paper-404]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.19.3.jar:git-Paper-404]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-404]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-404]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-404]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_19_R1.entity.CraftPlayer
... 19 more