From 746f10449d527410ae8af7815bdbd57671d449a4 Mon Sep 17 00:00:00 2001 From: FreeMonoid <49086127+FreeMonoid@users.noreply.github.com> Date: Sat, 24 Oct 2020 05:41:46 +0300 Subject: [PATCH] Fix restore nature removing top level of liquids (#1066) --- .../GriefPrevention/RestoreNatureProcessingTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/ryanhamshire/GriefPrevention/RestoreNatureProcessingTask.java b/src/main/java/me/ryanhamshire/GriefPrevention/RestoreNatureProcessingTask.java index 2916f70e5..c64bc187c 100644 --- a/src/main/java/me/ryanhamshire/GriefPrevention/RestoreNatureProcessingTask.java +++ b/src/main/java/me/ryanhamshire/GriefPrevention/RestoreNatureProcessingTask.java @@ -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)