Skip to content

Commit

Permalink
Add more netty for live compiler classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Jun 10, 2022
1 parent b6c76b6 commit 6f55946
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import com.mojang.brigadier.Message;
import com.mojang.datafixers.types.Type;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
import io.netty.handler.codec.AsciiHeadersEncoder;
import io.netty.util.AttributeKey;
import it.unimi.dsi.fastutil.floats.Float2FloatOpenHashMap;
import net.blueberrymc.client.EarlyLoadingMessageManager;
import net.blueberrymc.common.Blueberry;
Expand Down Expand Up @@ -66,7 +69,10 @@ public class JavaCompiler {
cp.add(ClasspathUtil.getClasspath(GameVersion.class)); // javabridge
cp.add(ClasspathUtil.getClasspath(NotNull.class)); // jetbrains annotations
cp.add(ClasspathUtil.getClasspath(IOUtils.class)); // commons-io
cp.add(ClasspathUtil.getClasspath(ByteBuf.class)); // netty
cp.add(ClasspathUtil.getClasspath(AttributeKey.class)); // netty-common
cp.add(ClasspathUtil.getClasspath(AsciiHeadersEncoder.class)); // netty-codec
cp.add(ClasspathUtil.getClasspath(Channel.class)); // netty-transport
cp.add(ClasspathUtil.getClasspath(ByteBuf.class)); // netty-buffer
cp.add(ClasspathUtil.getClasspath(NativeUtil.class)); // NativeUtil
cp.add(ClasspathUtil.getClasspath(Logger.class)); // Log4j2
Blueberry.safeRunOnClient(() -> new VoidSafeExecutor() {
Expand Down

0 comments on commit 6f55946

Please sign in to comment.