Skip to content

Commit

Permalink
💥 only on server-side, no client side
Browse files Browse the repository at this point in the history
  • Loading branch information
asoji committed Oct 14, 2024
1 parent fede2de commit 3d76b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"license": "MIT",
"icon": "assets/template/icon.png",
"environment": "*",
"environment": "server",
"entrypoints": {
"main": [
{
Expand Down

1 comment on commit 3d76b38

@asoji
Copy link
Member Author

@asoji asoji commented on 3d76b38 Oct 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change was made due to getting Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet configuration/serverbound/minecraft:custom_payload (ServerboundCustomPayloadPacket) was larger than I expected, found 14 bytes extra whilst reading packet serverbound/minecraft:custom_payload or Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet configuration/clientbound/minecraft:custom_payload (ClientboundCustomPayloadPacket) was larger than I expected, found 20 bytes extra whilst reading packet clientbound/minecraft:custom_payload when running in a singleplayer world, and genuinely have no idea why this is happening. I tried to have @BluSpring look at it and couldn't figure anything out, and since it works fine on dedicated server, we'll keep it to that. This has been the case since the mod has basically started.

Image
Image

Please sign in to comment.