Skip to content

Commit

Permalink
Fix global block entities not being updated for empty sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Jan 18, 2025
1 parent 99004c9 commit 3c8df8e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,14 @@
}

@Override
@@ -552,7 +_,7 @@
@@ -547,12 +_,14 @@
RenderChunkRegion renderchunkregion = this.region;
this.region = null;
if (renderchunkregion == null) {
+ // Neo: Fix MC-279596 (global block entities not being updated for empty sections)
+ RenderSection.this.updateGlobalBlockEntities(Set.of());
RenderSection.this.setCompiled(SectionRenderDispatcher.CompiledSection.EMPTY);
return CompletableFuture.completedFuture(SectionRenderDispatcher.SectionTaskResult.SUCCESSFUL);
} else {
SectionPos sectionpos = SectionPos.of(RenderSection.this.origin);
SectionCompiler.Results sectioncompiler$results = SectionRenderDispatcher.this.sectionCompiler
Expand Down

0 comments on commit 3c8df8e

Please sign in to comment.