packetevents
packetevents copied to clipboard
Map Player object via Bukkit.getPlayer with uuid to map player object early than PlayerJoinEvent?
Latest 2.0 commit 0fd0c62. Unsure what commit introduced this bug.
Forgot to show event.getPlayer(), but it returns null when the bukkit player object should exist. I'm listening to the PLAYER_POSITION_AND_ROTATION clientbound packet to teleport the player on join.
I could inject with PlayerLoginEvent, ill see
We do inject there.
We can't do this in LOGIN_SUCCESS packet, as thats too early. We process packets before the vanilla server. So that won't be possible.
Still considering.
Bump, would be nice to see this added