Opening the client chest kicks you from some servers
HyperSoop opened this issue ยท 8 comments
Opening the client chest on some servers causes an index out of bounds error, i'll attack a log in a bit. (This should not depend on the server at all, it's in the name, what's going on?)
I've had a chance to replicate the issue. It appears that the server is sending a slot update packet for slot id 0 and sync id 0, which is breaking the client chest menu things. I'm currently figuring out what this is supposed to correspond to. In the meantime, you could use /nbt export file
to get items to and from the server.
Without a log it is hard to be sure, but my current guess is that the server is sending item packets to unusual slots. The mod has to do some sketchy math to update the client chest when picking up items while the server doesn't know that the chest is open. It is possible some slot isn't properly handled, causing it to write to an invalid location.
Steps to reliably reproduce:
- Join
BuildersDen.minehut.gg
- Do
/chest
- You'll get kicked with "index 8 out of bounds for length 4"