Hi,
I'm trying to make a mod, and I added it to my server (with a dozen others). It doesn't change the logic or modify the world except after using a command where it will repeatedly call World.setBlock
Problem is, after disabling the logic some blocks are invisible. Like at some places the server knows there is this block but I can't see it and when I try and put a block in its place (since my client thinks it's air), either :
- the new block turns to the invisible one
- I can't put the block
- I can palce it and it won't change, but destroying it will leave the ghost block again
There are some ghost blocks which will block me, other not.
Using worldedit, I can //set 0 and it works, no more bug but I can't do it for all the ghosts. Using //distr shows me it's for example andesite (when I still see air).
Only restarting the server has any effect.
I was wondering if I was missing something, like a method to synchronize the model with the view.
I'm sorry if this is not really detailed, but there is not a lot more code to it, without dropping everything here.
Thanks in advance
EDIT: oddly enough, when I restart the server the ghosts blocks are now visible and it turns out that said blocks where built after deactivating my logic. Which would leave me to think it's not an issue with my mod, but I never encountered that before.