Skip to content

Commit

Permalink
Stupid me, fix leaky FakeLevelData twice...
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightenom committed Oct 4, 2024
1 parent a083802 commit c130078
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public FakeLevel(final IFakeLevelBlockGetter levelSource,
this.lightEngine = new FakeLevelLightEngine(this);

setRealLevel(clientLevel());
((FakeLevelData) getLevelData()).vanillaLevelData = realLevel()::getLevelData;
((FakeLevelData) getLevelData()).vanillaLevelData = () -> realLevel().getLevelData();
}

// ========================================
Expand Down

0 comments on commit c130078

Please sign in to comment.