Fix restore nature removing top level of liquids (#1066)
This commit is contained in:
1 parent
03074bf934
commit
746f10449d
1 file changed
+1
-1
@@ -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