removed /2 in merge multi data. now that we support a lot of connected lods it's needed

This commit is contained in:
cola98765
2022-01-26 09:07:00 +01:00
parent 410fe684ec
commit 6ef789c087
@@ -324,7 +324,7 @@ public class DataPointUtil
int size = dataToMerge.length / inputVerticalData;
// We initialize the arrays that are going to be used
int heightAndDepthLength = (WORLD_HEIGHT / 2 + 1) * 2;
int heightAndDepthLength = WORLD_HEIGHT * 2;
short[] heightAndDepth = tLocalHeightAndDepth.get();
if (heightAndDepth==null || heightAndDepth.length != heightAndDepthLength) {
heightAndDepth = new short[heightAndDepthLength];