Address comments

This commit is contained in:
dordsor21 2022-01-28 20:27:29 +00:00 committed by Jordan
parent f369ccb30e
commit 10c9425826
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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();