From abab0ff762422c7d6c02550370dea52505ca82df Mon Sep 17 00:00:00 2001 From: Computery <77170025+C0mputery@users.noreply.github.com> Date: Thu, 25 Jan 2024 13:45:23 -0500 Subject: [PATCH] Update MimicTurtleRenderTrick.kt --- .../siredvin/turtlematic/client/MimicTurtleRenderTrick.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/core/src/main/kotlin/site/siredvin/turtlematic/client/MimicTurtleRenderTrick.kt b/projects/core/src/main/kotlin/site/siredvin/turtlematic/client/MimicTurtleRenderTrick.kt index 32e13eb..be48c8e 100644 --- a/projects/core/src/main/kotlin/site/siredvin/turtlematic/client/MimicTurtleRenderTrick.kt +++ b/projects/core/src/main/kotlin/site/siredvin/turtlematic/client/MimicTurtleRenderTrick.kt @@ -55,11 +55,11 @@ object MimicTurtleRenderTrick : TurtleRenderTrick { DataStorageObjects.MimicExtraData[upgradeData] ?: emptyCompoundTag, ), ) - // Yep, this is check for SAME OBJECT + // Yep, this is a check for SAME OBJECT if (entity !== dummyBlockEntity) { entity.level = turtle.level minecraft.blockEntityRenderDispatcher.render(entity, partialTicks, transform, buffers) - entity.level = null + // entity.level = null; Setting this to null causes a crash when rendering a beacon. } } }