Skip to content

Commit

Permalink
fix #1062
Browse files Browse the repository at this point in the history
  • Loading branch information
astei committed Aug 20, 2023
1 parent f62d759 commit 19abb90
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,14 @@ public void handleBackendJoinGame(JoinGame joinGame, VelocityServerConnection de
}
serverBossBars.clear();

// Tell the server about the proxy's plugin message channels.
ProtocolVersion serverVersion = serverMc.getProtocolVersion();
final Collection<String> channels = server.getChannelRegistrar()
.getChannelsForProtocol(serverMc.getProtocolVersion());
if (!channels.isEmpty()) {
serverMc.delayedWrite(constructChannelsPacket(serverVersion, channels));
}

// If we had plugin messages queued during login/FML handshake, send them now.
PluginMessage pm;
while ((pm = loginPluginMessages.poll()) != null) {
Expand Down

0 comments on commit 19abb90

Please sign in to comment.