mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-22 08:01:24 +01:00
Merge branch 'develop' of https://github.com/BentoBoxWorld/BentoBox.git into develop
This commit is contained in:
commit
5c5077a6b5
@ -66,7 +66,12 @@ public abstract class SimpleWorldRegenerator implements WorldRegenerator {
|
||||
}
|
||||
final int x = chunkX;
|
||||
final int z = chunkZ;
|
||||
newTasks.add(regenerateChunk(gm, di, world, x, z));
|
||||
|
||||
// Only process non-generated chunks
|
||||
if (world.isChunkGenerated(x, z)) {
|
||||
newTasks.add(regenerateChunk(gm, di, world, x, z));
|
||||
}
|
||||
|
||||
chunkZ++;
|
||||
if (chunkZ > di.getMaxZChunk()) {
|
||||
chunkZ = di.getMinZChunk();
|
||||
|
Loading…
Reference in New Issue
Block a user