From e692e7b5296863e689ba7aed46aa663b4a06266f Mon Sep 17 00:00:00 2001 From: Aleksey Terzi Date: Sat, 4 Jun 2022 05:28:33 -0600 Subject: [PATCH] Improvement of the previous fix --- .../mc/civmodcore/world/locations/chunkmeta/ChunkCoord.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/civmodcore-paper/paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkCoord.java b/plugins/civmodcore-paper/paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkCoord.java index b6cd30029..6533df828 100644 --- a/plugins/civmodcore-paper/paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkCoord.java +++ b/plugins/civmodcore-paper/paper/src/main/java/vg/civcraft/mc/civmodcore/world/locations/chunkmeta/ChunkCoord.java @@ -192,14 +192,10 @@ public class ChunkCoord extends XZWCoord { } public boolean isChunkLoaded() { - if (this.lastUnloadingTime <= 0) { - //being loaded rn, ignore - return true; - } if (this.lastUnloadingTime > 0) { return this.lastUnloadingTime < this.lastLoadingTime; } else { - return true; + return this.lastLoadingTime > 0; } }