Skip to content

Commit a3b65f1

Browse files
committed
also clear pending updates from empty sections with sort tasks
1 parent 2206129 commit a3b65f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/src/main/java/net/caffeinemc/mods/sodium/client/render/chunk/RenderSectionManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ private long submitSectionTask(ChunkJobCollector collector, @NotNull RenderSecti
992992
if (task == null) {
993993
// when a sort task is null it means the render section has no dynamic data and
994994
// doesn't need to be sorted. Nothing needs to be done.
995+
section.clearPendingUpdate();
995996
return 0;
996997
}
997998
}

0 commit comments

Comments
 (0)