joshuaprince / CoordinateOffset

⛏️ A Minecraft Spigot/Paper plugin that configurably obfuscates players' coordinates.
GNU Affero General Public License v3.0
18 stars 7 forks source link

Conflicts with ViaVersion #13

Closed MeowIce closed 5 months ago

MeowIce commented 5 months ago

Describe the bug A clear and concise description of what the bug is. Players will get kicked with CO installed along side with ViaVersion. Or they just floating and won't see anything. image

Environment details Output of /version:

version [10:47:55 INFO]: Checking version, please wait... [10:47:56 INFO]: This server is running Leaf version git-Leaf-"dd62783" (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: dd62783 on ver/1.20.4)

  • You are 1 version(s) behind Download the new version at: https://github.com/Winds-Studio/Leaf Previous version: git-Purpur-2176 (MC: 1.20.4) CoordinateOffset version: v4.0.0 PacketEvents version: 2.3.0 Output of /plugins: pl [03:55:15 INFO]: Paper Plugins: (0): [03:55:15 INFO]: Bukkit Plugins: (16): [03:55:15 INFO]: - AuraSkills, CoordinateOffset, DynaTech, FoxyMachines, InfinityExpansion, packetevents, PlaceholderAPI, ProtocolLib, SkQuery, Skript [03:55:15 INFO]: Slimefun, SlimeTinker, spark, *SpectralDamage, Supreme, ViaVersion Link to pastebin of config.yml (if modified):

Log errors

[10:31:33] [Netty Epoll Server IO #0/WARN]: Packet Type: LEVEL_CHUNK_WITH_LIGHT, Type: ChunkType1_20_2, Index: 1, Data: [], Source 0: com.viaversion.viaversion.rewriter.BlockRewriter$$Lambda/0x00007f50f1167420, Packet ID: 37
[10:31:33] [Netty Epoll Server IO #0/WARN]: Caused by: java.lang.IndexOutOfBoundsException: readerIndex(29586) + length(2) exceeds writerIndex(29586): PooledUnsafeDirectByteBuf(ridx: 29586, widx: 29586, cap: 29586)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.buffer.AbstractByteBuf.readShort(AbstractByteBuf.java:749)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.api.type.types.chunk.ChunkSectionType1_18.read(ChunkSectionType1_18.java:45)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.api.type.types.chunk.ChunkType1_20_2.read(ChunkType1_20_2.java:59)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.api.type.types.chunk.ChunkType1_20_2.read(ChunkType1_20_2.java:37)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.read(PacketWrapperImpl.java:140)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.passthrough(PacketWrapperImpl.java:185)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.rewriter.BlockRewriter.handleChunk1_19(BlockRewriter.java:248)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.rewriter.BlockRewriter.lambda$chunkHandler1_19$2(BlockRewriter.java:219)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.api.protocol.AbstractProtocol.transform(AbstractProtocol.java:405)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.protocol.packet.PacketWrapperImpl.apply(PacketWrapperImpl.java:369)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.protocol.ProtocolPipelineImpl.transform(ProtocolPipelineImpl.java:122)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.connection.UserConnectionImpl.transform(UserConnectionImpl.java:337)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.connection.UserConnectionImpl.transformClientbound(UserConnectionImpl.java:313)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.bukkit.handlers.BukkitEncodeHandler.encode(BukkitEncodeHandler.java:58)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ViaVersion-5.0.1.jar//com.viaversion.viaversion.bukkit.handlers.BukkitEncodeHandler.encode(BukkitEncodeHandler.java:35)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at CoordinateOffset-v4.0.0.jar//com.jtprince.lib.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.write(PacketEventsEncoder.java:101)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:113)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:120)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at Vulcan-2.8.8.jar//io.github.repooper.packetevents.injector.modern.PlayerChannelHandlerModern.write(PlayerChannelHandlerModern.java:61)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:891)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at TAB v4.1.5.jar//me.neznamy.tab.shared.features.injection.NettyPipelineInjector$TabChannelDuplexHandler.write(NettyPipelineInjector.java:115)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:891)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at GSit-1.9.4.jar//dev.geco.gsit.mcv.v1_20_3.util.PackageUtil$1.write(PackageUtil.java:91)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:891)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:115)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at MythicMobs-5.6.2.jar//io.lumine.mythic.core.volatilecode.v1_20_R3.packets.VolatileChannelHandler.write(VolatileChannelHandler.java:76)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:891)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:956)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1020)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:311)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ProtocolLib-b721.jar//com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:227)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ProtocolLib-b721.jar//com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:233)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at net.minecraft.network.NetworkManager.c(NetworkManager.java:450)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at net.minecraft.network.NetworkManager.lambda$sendPacket$10(NetworkManager.java:435)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at ProtocolLib-b721.jar//com.comphenix.protocol.injector.netty.channel.NettyEventLoopProxy.lambda$proxyRunnable$2(NettyEventLoopProxy.java:49)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:173)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:166)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:405)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[10:31:33] [Netty Epoll Server IO #0/WARN]:     at java.base/java.lang.Thread.run(Thread.java:1583)
[10:31:33] [Server thread/INFO]: namvuive lost connection: Internal Exception: io.netty.handler.codec.EncoderException: com.viaversion.viaversion.exception.InformativeException: Please report this on the Via support Discord or open an issue on the relevant GitHub repository
Packet Type: LEVEL_CHUNK_WITH_LIGHT, Type: ChunkType1_20_2, Index: 1, Data: [], Source 0: com.viaversion.viaversion.rewriter.BlockRewriter$$Lambda/0x00007f50f1167420, Packet ID: 37
[10:31:33] [Server thread/INFO]: [-] namvuive đã thoát máy chủ. Gặp lại sau nha ^^

Steps to reproduce Please give any additional details that might help us to recreate the bug in a test server.

  1. Install CO, PE and Via
  2. Reboot server
  3. Join server Additional context Add any other context about the problem here.
joshuaprince commented 5 months ago

Hi, I wasn't able to recreate this issue with Paper or Leaf 1.20.4, using client versions 1.20.4, 1.20.6, or 1.21. I tested with just CoordinateOffset and ViaVersion (with and without PacketEvents).

From the stacktrace, I see a few more plugins involved in modifying packets than shown in /pl: Vulcan, TAB, GSit, MythicMobs, and ProtocolLib are all listed. Can you test again after removing these plugins and just installing CO and Via to see if the error persists?

MeowIce commented 5 months ago

Hi, sorry for a bit of misinformation. The logs were pasted from my production server and the plugin list was from the test server. Here's the one from test server:


[03:54:56] [Netty Epoll Server IO #3/WARN]: [com.jtprince.lib.com.github.retrooper.packetevents.PacketEventsAPI] PacketEvents caught an unhandled exception while calling your listener.
java.lang.NullPointerException: Cannot invoke "com.jtprince.lib.com.github.retrooper.packetevents.protocol.nbt.NBTCompound.getStringTagValueOrDefault(String, String)" because "nbt" is null
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.com.github.retrooper.packetevents.protocol.chat.ChatTypeDecoration.<init>(ChatTypeDecoration.java:58) ~[CoordinateOffset-v4.0.0.jar:?]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.com.github.retrooper.packetevents.manager.InternalPacketListener.onPacketSend(InternalPacketListener.java:107) ~[CoordinateOffset-v4.0.0.jar:?]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.com.github.retrooper.packetevents.event.PacketSendEvent.call(PacketSendEvent.java:51) ~[CoordinateOffset-v4.0.0.jar:?]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.com.github.retrooper.packetevents.event.EventManager.callEvent(EventManager.java:52) ~[CoordinateOffset-v4.0.0.jar:?]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.com.github.retrooper.packetevents.util.PacketEventsImplHelper.handleClientBoundPacket(PacketEventsImplHelper.java:44) ~[CoordinateOffset-v4.0.0.jar:?]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.handleClientBoundPacket(PacketEventsEncoder.java:82) ~[CoordinateOffset-v4.0.0.jar:?]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.encode(PacketEventsEncoder.java:67) ~[CoordinateOffset-v4.0.0.jar:?]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.encode(PacketEventsEncoder.java:46) ~[CoordinateOffset-v4.0.0.jar:?]
    at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:90) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at CoordinateOffset-v4.0.0.jar/com.jtprince.lib.io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.write(PacketEventsEncoder.java:101) ~[CoordinateOffset-v4.0.0.jar:?]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at packetevents-spigot-2.3.0.jar/io.github.retrooper.packetevents.injector.handlers.PacketEventsEncoder.write(PacketEventsEncoder.java:101) ~[packetevents-spigot-2.3.0.jar:?]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:113) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:120) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:875) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:984) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:868) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:893) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:956) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1020) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:311) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at ProtocolLib-b721.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.lambda$writeAndFlush$1(NettyChannelProxy.java:223) ~[ProtocolLib-b721.jar:?]
    at ProtocolLib-b721.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.lambda$processPacketOutbound$2(NettyChannelProxy.java:266) ~[ProtocolLib-b721.jar:?]
    at ProtocolLib-b721.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.processPacketOutbound(NettyChannelProxy.java:268) ~[ProtocolLib-b721.jar:?]
    at ProtocolLib-b721.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:223) ~[ProtocolLib-b721.jar:?]
    at ProtocolLib-b721.jar/com.comphenix.protocol.injector.netty.channel.NettyChannelProxy.writeAndFlush(NettyChannelProxy.java:233) ~[ProtocolLib-b721.jar:?]
    at net.minecraft.network.Connection.doSendPacket(Connection.java:450) ~[?:?]
    at net.minecraft.network.Connection.sendPacket(Connection.java:432) ~[?:?]
    at net.minecraft.network.Connection.send(Connection.java:394) ~[?:?]
    at net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:316) ~[leaf-1.20.4.jar:git-Leaf-"dd62783"]
    at net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:293) ~[leaf-1.20.4.jar:git-Leaf-"dd62783"]
    at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.startConfiguration(ServerConfigurationPacketListenerImpl.java:78) ~[leaf-1.20.4.jar:git-Leaf-"dd62783"]
    at net.minecraft.server.network.ServerLoginPacketListenerImpl.handleLoginAcknowledgement(ServerLoginPacketListenerImpl.java:450) ~[?:?]
    at net.minecraft.network.protocol.login.ServerboundLoginAcknowledgedPacket.handle(ServerboundLoginAcknowledgedPacket.java:18) ~[leaf-1.20.4.jar:git-Leaf-"dd62783"]
    at net.minecraft.network.protocol.login.ServerboundLoginAcknowledgedPacket.a(ServerboundLoginAcknowledgedPacket.java:9) ~[leaf-1.20.4.jar:git-Leaf-"dd62783"]
    at net.minecraft.network.Connection.genericsFtw(Connection.java:314) ~[?:?]
    at net.minecraft.network.Connection.channelRead0(Connection.java:295) ~[?:?]
    at net.minecraft.network.Connection.channelRead0(Connection.java:62) ~[?:?]
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:99) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.flow.FlowControlHandler.dequeue(FlowControlHandler.java:202) ~[netty-handler-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.flow.FlowControlHandler.channelRead(FlowControlHandler.java:164) ~[netty-handler-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at ProtocolLib-b721.jar/com.comphenix.protocol.injector.netty.channel.InboundPacketInterceptor.channelRead(InboundPacketInterceptor.java:42) ~[ProtocolLib-b721.jar:?]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at ProtocolLib-b721.jar/com.comphenix.protocol.injector.netty.channel.InboundProtocolReader.channelRead(InboundProtocolReader.java:25) ~[ProtocolLib-b721.jar:?]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) ~[netty-codec-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:289) ~[netty-handler-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.handler.flush.FlushConsolidationHandler.channelRead(FlushConsolidationHandler.java:152) ~[netty-handler-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[netty-transport-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:801) ~[netty-transport-classes-epoll-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:501) ~[netty-transport-classes-epoll-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:399) ~[netty-transport-classes-epoll-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[netty-common-4.1.109.Final.jar:4.1.109.Final]
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.109.Final.jar:4.1.109.Final]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[03:54:56] [Netty Epoll Server IO #3/WARN]: [com.jtprince.lib.com.github.retrooper.packetevents.PacketEventsAPI] No data was sent for dimension null to MeowIce64
[03:54:56] [Server thread/INFO]: MeowIce64 joined the game```
joshuaprince commented 5 months ago

Looks like this was fixed in the latest PacketEvents 1.21 changes. Could you install this development build and see if it fixes the issue? https://github.com/joshuaprince/CoordinateOffset/releases/tag/v4.0.1-RC1

MeowIce commented 5 months ago

Looks like this was fixed in the latest PacketEvents 1.21 changes. Could you install this development build and see if it fixes the issue? https://github.com/joshuaprince/CoordinateOffset/releases/tag/v4.0.1-RC1

Hi, this build works !

joshuaprince commented 5 months ago

Thank you for confirming! v4.0.1 is now released with this fix.