Improvement of the previous fix

This commit is contained in:
Aleksey Terzi
2022-06-04 05:28:33 -06:00
parent d69691585f
commit e692e7b529

View File

@@ -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;
}
}