in SingleLevelContainer made void chunks save as 1 byte instead of 8
This commit is contained in:
@@ -84,6 +84,9 @@ public class SingleLevelContainer implements LevelContainer
|
||||
newData = 0;
|
||||
if (inputData[index] == 0)
|
||||
index++;
|
||||
else if (inputData[index] == 3)
|
||||
newData = 3;
|
||||
index++;
|
||||
else if (index + 7 >= inputData.length)
|
||||
break;
|
||||
else
|
||||
@@ -148,6 +151,10 @@ public class SingleLevelContainer implements LevelContainer
|
||||
{
|
||||
tempData[index] = 0;
|
||||
index++;
|
||||
} else if (dataContainer[x][z] == 3)
|
||||
{
|
||||
tempData[index] = 3;
|
||||
index++;
|
||||
} else
|
||||
{
|
||||
for (tempIndex = 0; tempIndex < 8; tempIndex++)
|
||||
|
||||
Reference in New Issue
Block a user