Fix chunk leak issue with queued light updates
This commit is contained in:
@@ -122,7 +122,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
+ Chunk chunk = world.getChunkIfLoaded(x, z);
|
||||
+ Chunk chunk = MCUtil.getLoadedChunkWithoutMarkingActive(world, x, z);
|
||||
+ if (chunk != null && chunk.lightUpdates > 0) {
|
||||
+ return true;
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user