From 8036565022b722359272215e145dddae3afcd608 Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Sat, 21 Mar 2026 17:08:54 -0500 Subject: [PATCH] missed these two --- Minecraft.World/Level/LevelChunk.cpp | 2 +- Minecraft.World/Level/Storage/MapItemSavedData.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Minecraft.World/Level/LevelChunk.cpp b/Minecraft.World/Level/LevelChunk.cpp index 9112f1348..567a91f17 100644 --- a/Minecraft.World/Level/LevelChunk.cpp +++ b/Minecraft.World/Level/LevelChunk.cpp @@ -994,7 +994,7 @@ bool LevelChunk::setTileAndData(int x, int y, int z, int _tile, int _data) { y >= Level::COMPRESSED_CHUNK_SECTION_HEIGHT ? upperData : lowerData; int old = blocks->get(x, y % Level::COMPRESSED_CHUNK_SECTION_HEIGHT, z); int oldData = data->get(x, y % Level::COMPRESSED_CHUNK_SECTION_HEIGHT, z); - if (old == _tile && oldData == _data) return false; + if (old == _tile && oldData == _data) { // 4J Stu - Need to do this here otherwise double chests don't always // work correctly std::shared_ptr te = getTileEntity(x, y, z); diff --git a/Minecraft.World/Level/Storage/MapItemSavedData.cpp b/Minecraft.World/Level/Storage/MapItemSavedData.cpp index 0e083bb51..552ded3e2 100644 --- a/Minecraft.World/Level/Storage/MapItemSavedData.cpp +++ b/Minecraft.World/Level/Storage/MapItemSavedData.cpp @@ -139,6 +139,7 @@ charArray MapItemSavedData::HoldingPlayer::nextUpdatePacket( std::shared_ptr servPlayer = std::dynamic_pointer_cast(player); for (int d = 0; d < 10; d++) { + int column = (tick++ * 11) % (MapItem::IMAGE_WIDTH); if (rowsDirtyMin[column] >= 0) { int len = rowsDirtyMax[column] - rowsDirtyMin[column] + 1;