From c052a0ee40ec9164d8b80b6c6a0bf2d151e053e0 Mon Sep 17 00:00:00 2001 From: Dofes <91889957+Dofes@users.noreply.github.com> Date: Fri, 3 Jan 2025 06:09:52 +0800 Subject: [PATCH] chore: fix MovingBlockActor struct --- .../world/level/block/actor/MovingBlockActor.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mc/world/level/block/actor/MovingBlockActor.h b/src/mc/world/level/block/actor/MovingBlockActor.h index ca92c7a9f6..aec7acaec0 100644 --- a/src/mc/world/level/block/actor/MovingBlockActor.h +++ b/src/mc/world/level/block/actor/MovingBlockActor.h @@ -25,14 +25,14 @@ class MovingBlockActor : public ::BlockActor { public: // member variables // NOLINTBEGIN - ::ll::UntypedStorage<8, 8> mUnkb715ef; - ::ll::UntypedStorage<8, 8> mUnk30f66c; - ::ll::UntypedStorage<8, 16> mUnkc0238e; - ::ll::UntypedStorage<4, 12> mUnkb6138e; - ::ll::UntypedStorage<1, 1> mUnke5bfc7; - ::ll::UntypedStorage<4, 24> mUnk4f2b79; - ::ll::UntypedStorage<1, 1> mUnke9379f; - ::ll::UntypedStorage<4, 4> mUnk940a33; + ::ll::TypedStorage<8, 8, ::Block const*> mWrappedBlock; + ::ll::TypedStorage<8, 8, ::Block const*> mWrappedExtraBlock; + ::ll::TypedStorage<8, 16, ::std::shared_ptr<::BlockActor>> mWrappedBlockActor; + ::ll::TypedStorage<4, 12, ::BlockPos> mPistonBlockPos; + ::ll::TypedStorage<1, 1, bool> mPistonBlockExpanding; + ::ll::TypedStorage<4, 24, ::AABB> mCollisionShape; + ::ll::TypedStorage<1, 1, bool> mPreserved; + ::ll::TypedStorage<4, 4, int> mPreservedLifespan; // NOLINTEND public: