Fix wrong position being calculated and used for block colors (and possibly other things).

This commit is contained in:
Builderb0y
2023-08-18 01:58:11 +00:00
parent d239defb94
commit 3784458cba
@@ -226,8 +226,8 @@ public class FullDataToRenderDataTransformer
int hash = columnArrayView.getDataHash();
SingleColumnFullDataAccessor fullArrayView = chunkDataView.get(ox * dataToSourceScale, oz * dataToSourceScale);
convertColumnData(level,
sourceBlockX + sourceDataPointBlockWidth * relSourceX * dataToSourceScale,
sourceBlockZ + sourceDataPointBlockWidth * relSourceZ * dataToSourceScale,
sourceBlockX + sourceDataPointBlockWidth * relSourceX,
sourceBlockZ + sourceDataPointBlockWidth * relSourceZ,
columnArrayView, fullArrayView, 2);
changed |= hash != columnArrayView.getDataHash();
}