From e6ca325025a0231de4a32fef34d9510ba94cb119 Mon Sep 17 00:00:00 2001 From: Soggy_Pancake <54160598+Soggy-Pancake@users.noreply.github.com> Date: Wed, 4 Mar 2026 02:39:54 -0700 Subject: [PATCH] Forgot to change the initial wrapping --- Minecraft.Client/Chunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.Client/Chunk.cpp b/Minecraft.Client/Chunk.cpp index 526aa7eb3..3f471eea0 100644 --- a/Minecraft.Client/Chunk.cpp +++ b/Minecraft.Client/Chunk.cpp @@ -103,7 +103,7 @@ void Chunk::setPos(int x, int y, int z) // 4J - changed to just set the value rather than make a new one, if we've already created storage if( bb == NULL ) { - bb = std::unique_ptr(AABB::newPermanent(-g, -g, -g, XZSIZE+g, SIZE+g, XZSIZE+g)); + bb = shared_ptr(AABB::newPermanent(-g, -g, -g, XZSIZE+g, SIZE+g, XZSIZE+g)); } else {