Compare commits

...

1 Commits

Author SHA1 Message Date
dordsor21
a58581751e fix: ensure all setBlock methods in BlockArrayCacheScopedQueueCoordinator apply the correct offset
- Fixes #3783
2022-10-09 15:50:47 +01:00

View File

@@ -116,7 +116,7 @@ public class BlockArrayCacheScopedQueueCoordinator extends ScopedQueueCoordinato
x += offsetX;
z += offsetZ;
if (x >= scopeMinX && x < scopeMaxX && y >= minY && y <= maxY && z >= scopeMinZ && z < scopeMaxZ) {
blockStates[y - minY][x][z] = id.toImmutableState();
blockStates[y - minY][x - scopeMinX][z - scopeMinZ] = id.toImmutableState();
}
return false;
}