
Incorrect block placement when swapping blocks between inventory and hotbar
AccidentallyLezlie opened this issue ยท 1 comments
Using the Litematica Printer on a server results in sporadic incorrect block placement when the Printer has to swap blocks between the inventory and hotbar. The condition gets worse with higher ping and is unaffected by changes to the "printingInterval" setting.
This appears to be due to the printingInterval delay being applied after a block is placed and before the next block is selected. There is no delay between swapping stacks and placing the next block, leading to desync between the server and client and incorrect block placement.
If I'm right about the cause, a quick fix could be to set the printingInterval to apply the delay after selecting a block and before placing it. A longer-term fix could be for the Printer to implement the Litematica easyPlaceSwapInterval setting to allow adjusting both the print speed and the swap interval to prevent misplaced blocks under various ping conditions.