mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	Address comments
This commit is contained in:
		@@ -160,8 +160,8 @@ public class BukkitPlotGenerator extends ChunkGenerator
 | 
			
		||||
            @NonNull BiomeGrid biome
 | 
			
		||||
    ) {
 | 
			
		||||
 | 
			
		||||
        int minY =  BukkitWorld.getMinWorldHeight(world);
 | 
			
		||||
        int maxY =  BukkitWorld.getMaxWorldHeight(world);
 | 
			
		||||
        int minY = BukkitWorld.getMinWorldHeight(world);
 | 
			
		||||
        int maxY = BukkitWorld.getMaxWorldHeight(world);
 | 
			
		||||
        GenChunk result = new GenChunk(minY, maxY);
 | 
			
		||||
        if (this.getPlotGenerator() instanceof SingleWorldGenerator) {
 | 
			
		||||
            if (result.getChunkData() != null) {
 | 
			
		||||
 
 | 
			
		||||
@@ -150,8 +150,8 @@ public final class BukkitChunkCoordinator extends ChunkCoordinator {
 | 
			
		||||
 | 
			
		||||
        Chunk chunk = this.availableChunks.poll();
 | 
			
		||||
        if (chunk == null) {
 | 
			
		||||
            if (this.availableChunks.size() == 0) {
 | 
			
		||||
                if (this.requestedChunks.size() == 0) {
 | 
			
		||||
            if (this.availableChunks.isEmpty()) {
 | 
			
		||||
                if (this.requestedChunks.isEmpty()) {
 | 
			
		||||
                    finish();
 | 
			
		||||
                } else {
 | 
			
		||||
                    requestBatch();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user