From c1300786442ada4fef638ca93ef5d5d0b4d6c3dc Mon Sep 17 00:00:00 2001 From: Nightenom <17338378+Nightenom@users.noreply.github.com> Date: Fri, 4 Oct 2024 12:11:36 +0200 Subject: [PATCH] Stupid me, fix leaky FakeLevelData twice... --- .../com/ldtteam/structurize/client/fakelevel/FakeLevel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ldtteam/structurize/client/fakelevel/FakeLevel.java b/src/main/java/com/ldtteam/structurize/client/fakelevel/FakeLevel.java index f275c7816..0e411c024 100644 --- a/src/main/java/com/ldtteam/structurize/client/fakelevel/FakeLevel.java +++ b/src/main/java/com/ldtteam/structurize/client/fakelevel/FakeLevel.java @@ -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(); } // ========================================