Every time a player joins my server BKCommonLib gives me an error.
The error is described below:
`java.lang.IllegalArgumentException: Instance of type net.minecraft.network.protocol.game.ClientboundUpdateEnabledFeaturesPacket does not contain the field declared in net.minecraft.network.protocol.game.PacketPlayOutAdvancements
at com.bergerkiller.mountiplex.reflection.util.fast.ReflectionAccessor.checkInstance(ReflectionAccessor.java:31) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.util.fast.ReflectionAccessor.f(ReflectionAccessor.java:39) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.util.fast.ReflectionAccessor.get(ReflectionAccessor.java:86) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.util.FastField$FastFieldInitProxy.get(FastField.java:280) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.util.FastField.get(FastField.java:168) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.SafeField.get(SafeField.java:127) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.bukkit.common.protocol.CommonPacket.read(CommonPacket.java:89) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.bukkit.mw.advancement.AdvancementManagerImpl$2.onPacketSend(AdvancementManagerImpl.java:89) ~[MyWorlds-1.19.3-v1-193.jar:?]
at com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener.onPacketSending(ProtocolLibPacketHandler.java:508) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:547) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:521) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:94) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:527) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.proxyRunnable(NettyChannelInjector.java:469) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:220) ~[ProtocolLib.jar:?]
at net.minecraft.network.Connection.sendPacket(Connection.java:432) ~[?:?]
at net.minecraft.network.Connection.send(Connection.java:379) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2157) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2143) ~[?:?]
at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:275) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.placeNewPlayer(ServerLoginPacketListenerImpl.java:202) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:183) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:85) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:585) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:440) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-379]
at java.lang.Thread.run(Thread.java:833) ~?:?: [My_Worlds] Unhandled exception occurred in onPacketSending(PacketEvent) for My_Worlds
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.bergerkiller.bukkit.common.protocol.CommonPacket.read(com.bergerkiller.mountiplex.reflection.FieldAccessor)" is null
at com.bergerkiller.bukkit.mw.advancement.AdvancementManagerImpl$2.onPacketSend(AdvancementManagerImpl.java:89) ~[MyWorlds-1.19.3-v1-193.jar:?]
at com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener.onPacketSending(ProtocolLibPacketHandler.java:508) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:547) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:521) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:94) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:527) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.proxyRunnable(NettyChannelInjector.java:469) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:220) ~[ProtocolLib.jar:?]
at net.minecraft.network.Connection.sendPacket(Connection.java:432) ~[?:?]
at net.minecraft.network.Connection.send(Connection.java:379) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2157) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2143) ~[?:?]
at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:275) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.placeNewPlayer(ServerLoginPacketListenerImpl.java:202) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:183) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:85) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:585) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:440) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-379]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
net.minecraft.network.protocol.game.ClientboundUpdateEnabledFeaturesPacket@532ffef1[
a=[minecraft:vanilla]
[17:59:12 INFO]: Millyver06 joined the game
[17:59:12 INFO]: Millyver06[/93.35.216.2:22631] logged in with entity id 114 at ([Overworld]-1147.699999988079, 87.0, -59.30000001192093)
[17:59:13 WARN]: Millyver06 moved too quickly! 1156.199999988079,-22.0,67.80000001192093
[17:59:21 INFO]: UUID of player VAMPOOR is b86263bd-71c8-4fe9-afbc-f4b458af1247
17:59:21 ERROR: [BKCommonLib] Failed to get field private final boolean net.minecraft.network.protocol.game.PacketPlayOutAdvancements.a
java.lang.IllegalArgumentException: Instance of type net.minecraft.network.protocol.game.ClientboundUpdateEnabledFeaturesPacket does not contain the field declared in net.minecraft.network.protocol.game.PacketPlayOutAdvancements
at com.bergerkiller.mountiplex.reflection.util.fast.ReflectionAccessor.checkInstance(ReflectionAccessor.java:31) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.util.fast.ReflectionAccessor.f(ReflectionAccessor.java:39) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.util.fast.ReflectionAccessor.get(ReflectionAccessor.java:86) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.util.FastField.get(FastField.java:168) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.mountiplex.reflection.SafeField.get(SafeField.java:127) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.bukkit.common.protocol.CommonPacket.read(CommonPacket.java:89) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.bergerkiller.bukkit.mw.advancement.AdvancementManagerImpl$2.onPacketSend(AdvancementManagerImpl.java:89) ~[MyWorlds-1.19.3-v1-193.jar:?]
at com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener.onPacketSending(ProtocolLibPacketHandler.java:508) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:547) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:521) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:94) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:527) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.proxyRunnable(NettyChannelInjector.java:469) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:220) ~[ProtocolLib.jar:?]
at net.minecraft.network.Connection.sendPacket(Connection.java:432) ~[?:?]
at net.minecraft.network.Connection.send(Connection.java:379) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2157) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2143) ~[?:?]
at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:275) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.placeNewPlayer(ServerLoginPacketListenerImpl.java:202) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:183) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:85) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:585) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:440) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-379]
at java.lang.Thread.run(Thread.java:833) ~?:?: [My_Worlds] Unhandled exception occurred in onPacketSending(PacketEvent) for My_Worlds
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "com.bergerkiller.bukkit.common.protocol.CommonPacket.read(com.bergerkiller.mountiplex.reflection.FieldAccessor)" is null
at com.bergerkiller.bukkit.mw.advancement.AdvancementManagerImpl$2.onPacketSend(AdvancementManagerImpl.java:89) ~[MyWorlds-1.19.3-v1-193.jar:?]
at com.bergerkiller.bukkit.common.internal.network.ProtocolLibPacketHandler$CommonPacketListener.onPacketSending(ProtocolLibPacketHandler.java:508) ~[BKCommonLib-1.19.3-v2-SNAPSHOT-1457.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.postPacketToListeners(PacketFilterManager.java:547) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:521) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:94) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:527) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.proxyRunnable(NettyChannelInjector.java:469) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:220) ~[ProtocolLib.jar:?]
at net.minecraft.network.Connection.sendPacket(Connection.java:432) ~[?:?]
at net.minecraft.network.Connection.send(Connection.java:379) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2157) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2143) ~[?:?]
at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:275) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.placeNewPlayer(ServerLoginPacketListenerImpl.java:202) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:183) ~[?:?]
at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:85) ~[?:?]
at net.minecraft.network.Connection.tick(Connection.java:585) ~[?:?]
at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:233) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1565) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:440) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1173) ~[paper-1.19.3.jar:git-Paper-379]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.19.3.jar:git-Paper-379]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Every time a player joins my server BKCommonLib gives me an error. The error is described below: