Merge remote-tracking branch 'origin/master'

This commit is contained in:
Shaun Bennett 2014-09-25 18:04:06 -05:00
commit 7ee4f549f8
2 changed files with 9 additions and 0 deletions

View File

@ -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<Location> RestoreBlockAround(Material type, Location location, int radius)
{
HashSet<Location> restored = new HashSet<Location>();

View File

@ -1910,6 +1910,7 @@ public class MineStrike extends TeamGame
//Incendiary
_incendiary.clear();
Manager.GetBlockRestore().RestoreAll();
//Restock Ammo
for (Gun gun : _gunsEquipped.keySet())