From d2ce6f141b39ec0c82f6d6f3520382c505b4a88d Mon Sep 17 00:00:00 2001 From: creeper123123321 Date: Fri, 8 Feb 2019 18:35:57 -0200 Subject: [PATCH] ooops --- .../viafabric/mixin/MixinClientConnectionServerChInit.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinClientConnectionServerChInit.java b/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinClientConnectionServerChInit.java index 837c07c..442de0d 100644 --- a/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinClientConnectionServerChInit.java +++ b/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinClientConnectionServerChInit.java @@ -26,7 +26,6 @@ package com.github.creeper123123321.viafabric.mixin; import com.github.creeper123123321.viafabric.handler.serverside.FabricDecodeHandler; import com.github.creeper123123321.viafabric.handler.serverside.FabricEncodeHandler; -import com.github.creeper123123321.viafabric.platform.VRClientSideUserConnection; import com.github.creeper123123321.viafabric.protocol.ClientSideInterceptor; import io.netty.channel.Channel; import io.netty.channel.socket.SocketChannel; @@ -44,7 +43,7 @@ public class MixinClientConnectionServerChInit { @Inject(method = "initChannel(Lio/netty/channel/Channel;)V", at = @At(value = "TAIL"), remap = false) private void onInitChannel(Channel channel, CallbackInfo ci) { if (channel instanceof SocketChannel) { - UserConnection user = new VRClientSideUserConnection(channel); + UserConnection user = new UserConnection(channel); new ProtocolPipeline(user).add(new ClientSideInterceptor()); MessageToByteEncoder oldEncoder = (MessageToByteEncoder) channel.pipeline().get("encoder");