Skip to content

Commit

Permalink
Fix restore nature removing top level of liquids (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeMonoid committed Oct 24, 2020
1 parent 03074bf commit 746f104
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -611,7 +611,7 @@ private void removeDumpedFluids()
{
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)
Expand Down

0 comments on commit 746f104

Please sign in to comment.