small fixes
This commit is contained in:
@@ -248,9 +248,7 @@ public class LodDimension
|
||||
{
|
||||
/**TODO the value is currently 0 but should be determinated by the distance of the player)*/
|
||||
regions[xIndex][zIndex] = new LodRegion(LodConfig.CLIENT.maxGenerationDetail.get().detailLevel, regionPos);
|
||||
}
|
||||
|
||||
if (regions[xIndex][zIndex].getMinDetailLevel() > levelPos.detailLevel)
|
||||
}else if (regions[xIndex][zIndex].getMinDetailLevel() > levelPos.detailLevel)
|
||||
{
|
||||
regions[xIndex][zIndex].expand(levelPos.detailLevel);
|
||||
}
|
||||
|
||||
@@ -606,7 +606,6 @@ public class LodRegion implements Serializable
|
||||
{
|
||||
if(minDetailLevel < detailLevel)
|
||||
{
|
||||
System.out.println("cutting at " + detailLevel);
|
||||
for (byte tempLod = 0; tempLod < detailLevel; tempLod++)
|
||||
{
|
||||
colors[tempLod] = new byte[0][0][0];
|
||||
|
||||
Reference in New Issue
Block a user