Workaround bizarre 1.17->1.18 chunk lifecycle (Spigot, Fabric, Forge)
This commit is contained in:
parent
546ffffdc0
commit
54471c6695
4 changed files with 22 additions and 29 deletions
|
|
@ -57,7 +57,7 @@ public class MapChunkCache118 extends GenericMapChunkCache {
|
|||
if (nbt != null) {
|
||||
String stat = nbt.l("Status");
|
||||
ChunkStatus cs = ChunkStatus.a(stat);
|
||||
if ((stat != null) && cs.b(ChunkStatus.l)) { // ChunkStatus.LIGHT
|
||||
if ((stat != null) && (cs.b(ChunkStatus.l) || (cs == ChunkStatus.c))) { // ChunkStatus.LIGHT OR ChunkStatus.EMPTY (migrated use this for some reason)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue