Merge remote-tracking branch 'origin/1.16.5' into 1.16.5

This commit is contained in:
Leonardo
2021-10-19 01:20:35 +02:00
2 changed files with 1 additions and 5 deletions
@@ -102,9 +102,7 @@ public class VerticalLevelContainer implements LevelContainer
{
int tempIndex;
int index = 0;
int counter = -1;
long newData;
byte last = 0;
detailLevel = inputData[index];
index++;
maxVerticalData = inputData[index];
@@ -165,8 +163,6 @@ public class VerticalLevelContainer implements LevelContainer
public byte[] toDataString()
{
int index = 0;
int counter = -1;
byte last = -1;
int x = size * size * maxVerticalData;
int tempIndex;
long current;
@@ -117,7 +117,7 @@ public class ThreadMapUtil
return threadBuilderVerticalArrayMap.get(Thread.currentThread().getName())[detailLevel];
}
/** returns the array filled with 0's */
/** returns the array NOT cleared every time */
public static byte[] getSaveContainer(int detailLevel)
{
if (!saveContainer.containsKey(Thread.currentThread().getName()) || (saveContainer.get(Thread.currentThread().getName()) == null))