Remove ViaVersion

This commit is contained in:
RayzsYT committed 2024-05-26 23:25:04 +02:00
1 parent 5983cc63d9
commit 35a083ea9d
1 file changed
-2
@@ -35,9 +35,7 @@ public class PacketAnalyzer {
return false;
}
channel.pipeline().names().forEach(System.out::println);
channel.pipeline().addBefore(PacketAnalyzer.HANDLER_NAME, PacketAnalyzer.PIPELINE_NAME, new PacketDecoder(player));
channel.pipeline().addAfter("via-encoder", PacketAnalyzer.PIPELINE_NAME, new PacketDecoder(player));
PacketAnalyzer.INJECTED_PLAYERS.put(player.getUniqueId(), channel);
} catch (Throwable throwable) {
throwable.printStackTrace();