mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-01 09:59:18 +00:00
better fix for densityshift
This commit is contained in:
parent
a7fd485308
commit
4d9cf70ea8
|
@ -85,10 +85,11 @@ public class DensityShift extends EarthAbility implements PassiveAbility {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void revertAllSand() {
|
public static void revertAllSand() {
|
||||||
Set<TempBlock> sandtoremove = new HashSet<>(SAND_BLOCKS);
|
for (final TempBlock block : SAND_BLOCKS) {
|
||||||
for (final TempBlock block : sandtoremove) {
|
block.setRevertTask(null);
|
||||||
block.revertBlock();
|
block.revertBlock();
|
||||||
}
|
}
|
||||||
|
SAND_BLOCKS.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void removeAll() {
|
public static void removeAll() {
|
||||||
|
|
Loading…
Reference in a new issue