diff --git a/src/mc/network/UpdateSubChunkNetworkBlockInfo.h b/src/mc/network/UpdateSubChunkNetworkBlockInfo.h index 12cce63051..ff4dfa42b2 100644 --- a/src/mc/network/UpdateSubChunkNetworkBlockInfo.h +++ b/src/mc/network/UpdateSubChunkNetworkBlockInfo.h @@ -10,6 +10,7 @@ struct UpdateSubChunkNetworkBlockInfo { uint mRuntimeId; // this+0xC uchar mUpdateFlags; // this+0x10 ActorBlockSyncMessage mSyncMessage; // this+0x18 + public: // prevent constructor by default UpdateSubChunkNetworkBlockInfo& operator=(UpdateSubChunkNetworkBlockInfo const&); diff --git a/src/mc/network/packet/UpdateSubChunkBlocksPacket.h b/src/mc/network/packet/UpdateSubChunkBlocksPacket.h index 220421c4d8..807693c2f6 100644 --- a/src/mc/network/packet/UpdateSubChunkBlocksPacket.h +++ b/src/mc/network/packet/UpdateSubChunkBlocksPacket.h @@ -13,8 +13,10 @@ class UpdateSubChunkBlocksPacket : public ::Packet { public: - UpdateSubChunkBlocksChangedInfo mBlocksChanged; // this+0x30 - NetworkBlockPosition mSubChunkBlockPosition; // this+0x60 + using BlocksChangedInfo = UpdateSubChunkBlocksChangedInfo; + + BlocksChangedInfo mBlocksChanged; // this+0x30 + NetworkBlockPosition mSubChunkBlockPosition; // this+0x60 public: // NOLINTBEGIN