[Bug]: Exception `Payload ping-wheel-s2c:ping-location may not be sent to the client`
NeoHBz opened this issue · 4 comments
Preflight Checklist
- I am using the latest version of Ping Wheel for the corresponding mod loader.
- The server I am playing on has Ping Wheel installed.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Which mod loaders have you experienced the issue with?
NeoForge
What versions of Minecraft have you experienced the issue in?
1.21.5
Expected Behavior
Works well sometimes, other times it doesn't work and logs a java.lang.UnsupportedOperationException in server logs.
Actual Behavior
Should work without crash
Logs URL
Additional Information
No response
Unfortunately, we haven’t received any further information, so we’re unable to investigate the reported behaviour. Feel free to reopen this issue at any time if you have additional details.
I was not able to reproduce this in a clean install of a NeoForge 21.5 server (and clients).
Can you provide more information about your modpack?
Caused by: java.lang.UnsupportedOperationException: Payload ping-wheel-s2c:ping-location may not be sent to the client!
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.registration.NetworkRegistry.checkPacket(NetworkRegistry.java:446) ~[neoforge-21.1.209-universal.jar%23567!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:178) ~[server-1.21.1-20240808.144430-srg.jar%23566!/:?]
at TRANSFORMER/[email protected]/net.minecraft.server.network.ServerCommonPacketListenerImpl.send(ServerCommonPacketListenerImpl.java:173) ~[server-1.21.1-20240808.144430-srg.jar%23566!/:?]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.PacketDistributor.sendToPlayer(PacketDistributor.java:51) ~[neoforge-21.1.209-universal.jar%23567!/:?]
at TRANSFORMER/[email protected]/nx.pingwheel.neoforge.platform.PlatformNetworkServiceImpl.sendToClient(PlatformNetworkServiceImpl.java:25) ~[Ping-Wheel-1.11.0-neoforge-1.21.1.jar%23880!/:1.11.0]
at TRANSFORMER/[email protected]/nx.pingwheel.common.core.ServerCore.onPingLocation(ServerCore.java:95) ~[Ping-Wheel-1.11.0-neoforge-1.21.1.jar%23880!/:1.11.0]
at TRANSFORMER/[email protected]/nx.pingwheel.common.CommonServer.onPingLocationPacket(CommonServer.java:29) ~[Ping-Wheel-1.11.0-neoforge-1.21.1.jar%23880!/:1.11.0]
at TRANSFORMER/[email protected]/nx.pingwheel.neoforge.NeoMain.lambda$onRegisterPackets$2(NeoMain.java:55) ~[Ping-Wheel-1.11.0-neoforge-1.21.1.jar%23880!/:1.11.0]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.handling.ServerPayloadContext.enqueueWork(ServerPayloadContext.java:32) ~[neoforge-21.1.209-universal.jar%23567!/:?]
at TRANSFORMER/[email protected]/nx.pingwheel.neoforge.NeoMain.lambda$onRegisterPackets$3(NeoMain.java:55) ~[Ping-Wheel-1.11.0-neoforge-1.21.1.jar%23880!/:1.11.0]
at TRANSFORMER/[email protected]/net.neoforged.neoforge.network.handling.MainThreadPayloadHandler.lambda$handle$0(MainThreadPayloadHandler.java:16) ~[neoforge-21.1.209-universal.jar%23567!/:?]
at TRANSFORMER/[email protected]/net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:60) ~[server-1.21.1-20240808.144430-srg.jar%23566!/:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 13 more
Mod version: v1.11.0 for NeoForge 1.21.1
Minecraft: 1.21.1
NeoForge: 21.1.209