Workaround bizarre 1.17->1.18 chunk lifecycle (Spigot, Fabric, Forge)
This commit is contained in:
parent
3af5ac05e2
commit
28fd746248
4 changed files with 22 additions and 29 deletions
|
|
@ -38,7 +38,7 @@ public class ForgeMapChunkCache extends GenericMapChunkCache {
|
|||
if (nbt != null) {
|
||||
String stat = nbt.getString("Status");
|
||||
ChunkStatus cs = ChunkStatus.byName(stat);
|
||||
if ((stat != null) && cs.isOrAfter(ChunkStatus.LIGHT)) { // ChunkStatus.LIGHT
|
||||
if ((stat != null) && (cs.isOrAfter(ChunkStatus.LIGHT) || (cs == ChunkStatus.EMPTY))) { // ChunkStatus.LIGHT or migrated EMPTY
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue