diff --git a/src/com/projectkorra/projectkorra/earthbending/passive/DensityShift.java b/src/com/projectkorra/projectkorra/earthbending/passive/DensityShift.java index 71b35d36..00289329 100644 --- a/src/com/projectkorra/projectkorra/earthbending/passive/DensityShift.java +++ b/src/com/projectkorra/projectkorra/earthbending/passive/DensityShift.java @@ -85,10 +85,11 @@ public class DensityShift extends EarthAbility implements PassiveAbility { } public static void revertAllSand() { - Set sandtoremove = new HashSet<>(SAND_BLOCKS); - for (final TempBlock block : sandtoremove) { + for (final TempBlock block : SAND_BLOCKS) { + block.setRevertTask(null); block.revertBlock(); } + SAND_BLOCKS.clear(); } public static void removeAll() {