/* * Decompiled with CFR 0.152. * * Could not load the following classes: * io.netty.channel.ChannelHandlerContext * io.netty.channel.ChannelOutboundHandlerAdapter * io.netty.channel.ChannelPromise */ package net.minecraft.network; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelOutboundHandlerAdapter; import io.netty.channel.ChannelPromise; import net.minecraft.network.HiddenByteBuf; public class LocalFrameEncoder extends ChannelOutboundHandlerAdapter { public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) { ctx.write(HiddenByteBuf.pack(msg), promise); } }