Fix restore nature removing top level of liquids (#1066)
This commit is contained in:
@@ -611,7 +611,7 @@ class RestoreNatureProcessingTask implements Runnable
|
|||||||
{
|
{
|
||||||
for (int z = 1; z < snapshots[0][0].length - 1; z++)
|
for (int z = 1; z < snapshots[0][0].length - 1; z++)
|
||||||
{
|
{
|
||||||
for (int y = this.seaLevel - 1; y < snapshots[0].length - 1; y++)
|
for (int y = this.seaLevel; y < snapshots[0].length - 1; y++)
|
||||||
{
|
{
|
||||||
BlockSnapshot block = snapshots[x][y][z];
|
BlockSnapshot block = snapshots[x][y][z];
|
||||||
if (block.typeId == Material.WATER || block.typeId == Material.LAVA)
|
if (block.typeId == Material.WATER || block.typeId == Material.LAVA)
|
||||||
|
|||||||
Reference in New Issue
Block a user