fix: problem with PluginMessageEvents for configuration phase (#1517)
This commit is contained in:
@@ -134,7 +134,7 @@ public class ClientConfigSessionHandler implements MinecraftSessionHandler {
|
|||||||
ChannelIdentifier id = this.server.getChannelRegistrar().getFromId(packet.getChannel());
|
ChannelIdentifier id = this.server.getChannelRegistrar().getFromId(packet.getChannel());
|
||||||
|
|
||||||
if (id == null) {
|
if (id == null) {
|
||||||
serverConn.getPlayer().getConnection().write(packet.retain());
|
serverConn.ensureConnected().write(packet.retain());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user