Sectors are 16x16 with unlimited height (I will limit height but this is for now)
Note: The sectors are created but not generated.
My goal is to generate infinite flat terrain (without multi threading).
But the terrain won't generate correctly.
I think it can be possible that it's not only the world generation that causes world glitches.
See file for full code
Please help me