Destroy Empty Chunks


It can delete all chunks without your buildings

Utilities
5 years ago
0.15 - 0.16
20

b bug and optimizations

7 years ago
(updated 7 years ago)

Well, seems I was the first to download it! 1 download only :P

Bug: If a large power pole is half in one chunk and half in the other, it fails to detect it on one of the chunks and removes the chunk and there goes the power pole. Good luck find a way to prevent this that would not affect current performance :(

Optimization: you should use count_entities_filtered instead of find_entities_filtered. its way more efficient since it only returns a number instead of creating a map with entities and avoids iterating over the map, even if uou force the map to only has one item!

7 years ago

Thanks for your help! It is much faster now.

New response