diff --git a/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinServerNetworkIOChInit.java b/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinServerNetworkIoChInit.java similarity index 96% rename from src/main/java/com/github/creeper123123321/viafabric/mixin/MixinServerNetworkIOChInit.java rename to src/main/java/com/github/creeper123123321/viafabric/mixin/MixinServerNetworkIoChInit.java index 245d994..736b166 100644 --- a/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinServerNetworkIOChInit.java +++ b/src/main/java/com/github/creeper123123321/viafabric/mixin/MixinServerNetworkIoChInit.java @@ -37,8 +37,8 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import us.myles.ViaVersion.api.data.UserConnection; import us.myles.ViaVersion.api.protocol.ProtocolPipeline; -@Mixin(targets = "net.minecraft.server.ServerNetworkIO$1") -public class MixinServerNetworkIOChInit { +@Mixin(targets = "net.minecraft.server.ServerNetworkIo$1") +public class MixinServerNetworkIoChInit { @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) { diff --git a/src/main/resources/mixins.viafabric.json b/src/main/resources/mixins.viafabric.json index 6c13530..fe3937b 100644 --- a/src/main/resources/mixins.viafabric.json +++ b/src/main/resources/mixins.viafabric.json @@ -3,7 +3,7 @@ "compatibilityLevel": "JAVA_8", "package": "com.github.creeper123123321.viafabric.mixin", "mixins": [ - "MixinServerNetworkIOChInit", + "MixinServerNetworkIoChInit", "MixinClientConnection" ], "client": [