Skip to content

Commit

Permalink
Fix entity rebuilding chunks every tick.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed Nov 15, 2024
1 parent eb2b467 commit 6931a08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion build_logic/src/main/kotlin/lambdynamiclights.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ val generateFmj = tasks.register("generateFmj", GenerateFmjTask::class) {
.withLink("modmenu.github_releases", "${Constants.SOURCES_LINK}/releases")
.withLink("modmenu.modrinth", "https://modrinth.com/mod/lambdynamiclights")
.withLink("modmenu.bluesky", "https://bsky.app/profile/lambdaurora.dev")
.withLink("modmenu.twitter", "https://twitter.com/LambdAurora")
}
)
outputDir.set(project.file("build/generated/generated_resources/"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ public double getDynamicLightPrevZ() {

@Override
public void updateDynamicLightPreviousCoordinates() {
this.lambdynlights$prevX = this.getX();
this.lambdynlights$prevY = this.getY();
this.lambdynlights$prevZ = this.getZ();
this.lambdynlights$prevX = this.getDynamicLightX();
this.lambdynlights$prevY = this.getDynamicLightY();
this.lambdynlights$prevZ = this.getDynamicLightZ();
}

@Override
Expand Down

0 comments on commit 6931a08

Please sign in to comment.