Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid player data on join purpur 1.18.2 #2775

Closed
ItzEnderArkail opened this issue Feb 1, 2024 · 1 comment · Fixed by #2961
Closed

invalid player data on join purpur 1.18.2 #2775

ItzEnderArkail opened this issue Feb 1, 2024 · 1 comment · Fixed by #2961

Comments

@ItzEnderArkail
Copy link

Describe the bug
it says it can't place the player in world

To Reproduce
Steps to reproduce the behavior:

  1. Join for the first time then leave
  2. Join back and there's a chance it will say invalid player data

Screenshots
[09:43:11] [User Authenticator #4/INFO]: UUID of player GamingFreaks is ab4014bb-db7c-3ac0-818e-1bd1e59b9df8 [09:43:11] [Server thread/ERROR]: Couldn't place player in world net.minecraft.ReportedException: Sending packet at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2131) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2109) ~[?:?] at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:278) ~[purpur-1.18.2.jar:git-Purpur-1632] at net.minecraft.server.network.ServerLoginPacketListenerImpl.placeNewPlayer(ServerLoginPacketListenerImpl.java:215) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleAcceptedLogin(ServerLoginPacketListenerImpl.java:196) ~[?:?] at net.minecraft.server.network.ServerLoginPacketListenerImpl.tick(ServerLoginPacketListenerImpl.java:84) ~[?:?] at net.minecraft.network.Connection.tick(Connection.java:567) ~[?:?] at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:231) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1651) ~[purpur-1.18.2.jar:git-Purpur-1632] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:522) ~[purpur-1.18.2.jar:git-Purpur-1632] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[purpur-1.18.2.jar:git-Purpur-1632] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1247) ~[purpur-1.18.2.jar:git-Purpur-1632] at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:321) ~[purpur-1.18.2.jar:git-Purpur-1632] at java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.lang.NullPointerException: type cannot be null at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:907) ~[guava-31.0.1-jre.jar:?] at com.comphenix.protocol.injector.StructureCache.getStructure(StructureCache.java:138) ~[ProtocolLib.jar:?] at com.comphenix.protocol.events.PacketContainer.<init>(PacketContainer.java:126) ~[ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.manager.NetworkManagerInjector.onPacketSending(NetworkManagerInjector.java:96) ~[ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector.processOutbound(NettyChannelInjector.java:553) ~[ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyChannelInjector$2.doProxyRunnable(NettyChannelInjector.java:456) ~[ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.proxyRunnable(NettyEventLoopProxy.java:43) ~[ProtocolLib.jar:?] at com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.execute(NettyEventLoopProxy.java:252) ~[ProtocolLib.jar:?] at net.minecraft.network.Connection.writePacket(Connection.java:435) ~[?:?] at net.minecraft.network.Connection.send(Connection.java:382) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2123) ~[?:?] ... 13 more [09:43:11] [Server thread/INFO]: GamingFreaks lost connection: Invalid player data

Version Info
https://pastes.io/zgysqimn7k

@ItzEnderArkail
Copy link
Author

ok my solution was using protocollib 4.8 with java 17, it solved the invalid player data issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant