Fix restore nature removing top level of liquids (#1066)

This commit is contained in:
FreeMonoid
2020-10-23 19:41:46 -07:00
committed by GitHub
parent 03074bf934
commit 746f10449d
@@ -611,7 +611,7 @@ class RestoreNatureProcessingTask implements Runnable
{
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];
if (block.typeId == Material.WATER || block.typeId == Material.LAVA)