mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
Remove Geyser -> Bungee Floodgate data after use
This commit is contained in:
@@ -119,6 +119,8 @@ public final class VelocityProxyDataHandler extends ChannelInboundHandlerAdapter
|
||||
setValue(connection, REMOTE_ADDRESS, newIp);
|
||||
}
|
||||
|
||||
setValue(packet, HANDSHAKE_SERVER_ADDRESS, handshakeData.getHostname());
|
||||
|
||||
if (handshakeData.getDisconnectReason() != null) {
|
||||
ctx.channel().attr(kickMessageAttribute).set(handshakeData.getDisconnectReason());
|
||||
return;
|
||||
@@ -149,8 +151,6 @@ public final class VelocityProxyDataHandler extends ChannelInboundHandlerAdapter
|
||||
|
||||
FloodgatePlayer player = result.getFloodgatePlayer();
|
||||
|
||||
setValue(packet, HANDSHAKE_SERVER_ADDRESS, handshakeData.getHostname());
|
||||
|
||||
logger.info("Floodgate player who is logged in as {} {} joined",
|
||||
player.getCorrectUsername(), player.getCorrectUniqueId());
|
||||
}).handle((v, error) -> {
|
||||
|
||||
Reference in New Issue
Block a user