fixed byte cast

This commit is contained in:
cola98765
2021-09-19 23:34:55 +02:00
parent 031af5f25c
commit c7bf60b4e0
@@ -151,7 +151,7 @@ public class VerticalLevelContainer implements LevelContainer
byte[] tempData = new byte[2 + (size * size * maxVerticalData * 8)];
tempData[index] = detailLevel;
index++;
tempData[index] = maxVerticalData;
tempData[index] = (byte) maxVerticalData;
index++;
int x, y, z = 0;
for (x = 0; x < size; x++)