[Bug] Client loses connection while interacting with a npc while another player is currently interacting with the npc
khazenor opened this issue ยท 0 comments
๐ก Check the
Bug Tracker
and Crash Tracker before
reporting a new issue.
There you can find a lot of useful information and solutions for common problems.
Note:
Please make sure to fill out the following template to the best of your ability. This will help us
to identify and fix the issue faster.
Minecraft and Mod version ๐
Minecraft: 1.21
Neoforged: 21.0.167
EasyNpc: easy_npc-neoforge-1.21-5.5.10.jar
Describe the bug ๐
When a second player on a server tries to trade with the same npc, their client loses connect with the following error message Internal Exception: io.netty.handler.codec.EncoderException: Failed to encode packet 'clientbound/minecraft:system_chat'
To Reproduce โ๏ธ
Steps to reproduce the behavior:
- open a world with user 1
- create a humanoid npc and setup a random trade
- user 1 right clicks the npc to trade
- open and join the world as user 2
- user 2 right click the humanoid while user 1 is still interacting with the npc
Result: user 2 loses connection
Expected behavior โ๏ธ
User 2 should be able to trade with npc while user 1 is trading. Either that or user 2 should get a message saying another player is trade with that villager.
Screenshots ๐ธ
If applicable, add screenshots to help explain your problem.
Debugging ๐ ๏ธ
Before reporting an issue, please enable the debug mode over /easy_npc debug true
to get more
detailed information about the issue in the logs.
Additionally, check if there is anything relevant in the crash-reports, debug.log, and latest.log
file.
debug.log
latest.log
Is the issue happening in combination with other mods? (If yes, please provide a full list) ๐งฉ
Nope. I've tested with just easyNpc on it's own
Additional context ๐
Add any other context about the problem here.