mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
Should fix the nullptr on the Bukkit version too
This commit is contained in:
@@ -89,7 +89,7 @@ public class PacketHandler extends MessageToMessageDecoder<Object> {
|
||||
// Use a spoofedUUID for initUUID (just like Bungeecord)
|
||||
setValue(networkManager, "spoofedUUID", player.getJavaUniqueId());
|
||||
// Use the player his IP for stuff instead of Geyser his IP
|
||||
SocketAddress newAddress = InetSocketAddress.createUnresolved(
|
||||
SocketAddress newAddress = new InetSocketAddress(
|
||||
bedrockData.getIp(),
|
||||
((InetSocketAddress)ctx.channel().remoteAddress()).getPort()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user