diff --git a/Plugins/Mineplex.Core/src/mineplex/core/blockrestore/BlockRestore.java b/Plugins/Mineplex.Core/src/mineplex/core/blockrestore/BlockRestore.java index 174e2769a..8641ac476 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/blockrestore/BlockRestore.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/blockrestore/BlockRestore.java @@ -94,6 +94,14 @@ public class BlockRestore extends MiniPlugin _blocks.remove(block).restore(); } + public void RestoreAll() + { + for (BlockRestoreData data : _blocks.values()) + data.restore(); + + _blocks.clear(); + } + public HashSet RestoreBlockAround(Material type, Location location, int radius) { HashSet restored = new HashSet(); diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java index 437395bb8..87bc77503 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java @@ -1910,6 +1910,7 @@ public class MineStrike extends TeamGame //Incendiary _incendiary.clear(); + Manager.GetBlockRestore().RestoreAll(); //Restock Ammo for (Gun gun : _gunsEquipped.keySet())