Skip to content

Commit e11f23e

Browse files
ST3V1KWiIIiam278
authored andcommitted
fix: problem with PluginMessageEvents for configuration phase (PaperMC#1517)
1 parent c0b904d commit e11f23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientConfigSessionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public boolean handle(final PluginMessagePacket packet) {
134134
ChannelIdentifier id = this.server.getChannelRegistrar().getFromId(packet.getChannel());
135135

136136
if (id == null) {
137-
serverConn.getPlayer().getConnection().write(packet.retain());
137+
serverConn.ensureConnected().write(packet.retain());
138138
return true;
139139
}
140140

0 commit comments

Comments
 (0)