Disconnects from LAN when putting a entity (or whatever) down.
dasRAINBOW opened this issue ยท 3 comments
Expected Behavior
Not disconnecting.
Actual Behavior
Disconnecting me from the LAN when a entity gets placed down.
Steps to Reproduce
Play on LAN and have a second account put down a entity.
Version of Minecraft, Carry On, Forge
Minecraft 1.19
Forge 41.1.0
Carry On 1.19-1.18.1.2
Screenshots encouraged
Hello @Tschipp, I am another user and I have the same problem. The log is difficult to obtain from the minecraft logs.
I have downloaded the code from this repository to my local and I have done some tests debugging the code, but I have not been able to find where the error is thrown. The error it throws is IndexOutOfBounds and it seems to come from a thread.
To reproduce the error I had to launch 2 instances of minecraft and join them in lan (open minecraft lan). Then the client (the one that connects to the host) that connects to the host (the one that shares the lan game) disconnects as soon as one of the 2 is picking up and leaving entities, normally it happens when the entity leaves and not when catch it, throwing the error.
As errors occur, it also counts to connect both games in lan. When I have a while, if I can I'll upload the log that the console paints, but this way you can try and locate the error that will be easier for you than for me since it is your code.
I hope this helps you solve it!
Thanks and regards!