Right clicking kicks the client
Description
When player right clicks any block (or tries to place some), he gets kicked with an error in console.
Steps to reproduce
- Start the server;
- Connect to it;
- Right click on a block / place a block
- :)
Expected behaviour
Client should not get kicked
Details
https://paste.gg/p/anonymous/c22beb302ef34da6904283b838617838
- Server version: Krypton 0.60.4
- Java version: openjdk 17.0.1 2021-10-19 OpenJDK Runtime Environment Temurin-17.0.1+12 (build 17.0.1+12) OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (build 17.0.1+12, mixed mode, sharing)
Well this is a strange one. I think block placing is still unfinished, but I will investigate this and see if I can find the problem. Thanks for the report!
Quite late but I think it has to do with the block handling, possibly having to do with some sort of illegal interaction for notchian clients that causes them to be kicked, from what I can see, it has to do that it is receiving an illegal block pos?, I dont know much kotlin but I'm willing to help
Edit: Looks like it has to do with the heightmaps
Yeah that sounds about right. As I said, block placing is still unfinished, and still needs to be done. It hasn't been done yet because there is a lot for us to do when blocks get placed, a lot of actions to process, and I need to figure out what actually needs to be done and when, and I've been focusing on other things.