Opened this issue 8 years ago · 1 comments
If I change voxel.generate at runtime. How to make it generate again?
The following code resets the world:
game.voxels.chunks = {}; game.voxels.requestMissingChunks(game.worldOrigin) game.loadPendingChunks(game.pendingChunks.length)