mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Improvement of the previous fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user