missed these two

This commit is contained in:
Tropical 2026-03-21 17:08:54 -05:00
parent 86e08af338
commit 8036565022
2 changed files with 2 additions and 1 deletions

View file

@ -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<TileEntity> te = getTileEntity(x, y, z);

View file

@ -139,6 +139,7 @@ charArray MapItemSavedData::HoldingPlayer::nextUpdatePacket(
std::shared_ptr<ServerPlayer> servPlayer =
std::dynamic_pointer_cast<ServerPlayer>(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;