mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-02 08:50:26 +01:00
Fixed Proxy2ServerHandler on connectionless channels
This commit is contained in:
parent
645e14c043
commit
6dd76b46ad
@ -57,8 +57,8 @@ public class Proxy2ServerHandler extends SimpleChannelInboundHandler<IPacket> {
|
|||||||
private int joinGamePacketId = -1;
|
private int joinGamePacketId = -1;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void channelActive(ChannelHandlerContext ctx) throws Exception {
|
public void channelRegistered(ChannelHandlerContext ctx) throws Exception {
|
||||||
super.channelActive(ctx);
|
super.channelRegistered(ctx);
|
||||||
|
|
||||||
this.proxyConnection = ProxyConnection.fromChannel(ctx.channel());
|
this.proxyConnection = ProxyConnection.fromChannel(ctx.channel());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user