Closed Eternal130 closed 4 weeks ago
So there isn't really a point to having this as the server will send data that will override this anyways. It also opens the door to desyncs if stuff changes while the client is offline.
I'm also in the middle of rewriting how this system works as well so this system will look pretty different when I'm done with it 😅
When leaving the server, store placedBlocks in a file. Upon joining the server, load the corresponding file based on the address. This way, placedBlocks achieves persistent storage. Even after restarting the game, Jade can correctly display previously placed blocks. I conducted tests on a 1.20.6 Paper server using the localized Chinese version of SlimeFun, so I'm not sure if this issue exists in the original SlimeFun.