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

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