Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex
This commit is contained in:
commit
91ca7fa6c6
@ -94,6 +94,14 @@ public class BlockRestore extends MiniPlugin
|
|||||||
_blocks.remove(block).restore();
|
_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)
|
public HashSet<Location> RestoreBlockAround(Material type, Location location, int radius)
|
||||||
{
|
{
|
||||||
HashSet<Location> restored = new HashSet<Location>();
|
HashSet<Location> restored = new HashSet<Location>();
|
||||||
|
@ -1910,6 +1910,7 @@ public class MineStrike extends TeamGame
|
|||||||
|
|
||||||
//Incendiary
|
//Incendiary
|
||||||
_incendiary.clear();
|
_incendiary.clear();
|
||||||
|
Manager.GetBlockRestore().RestoreAll();
|
||||||
|
|
||||||
//Restock Ammo
|
//Restock Ammo
|
||||||
for (Gun gun : _gunsEquipped.keySet())
|
for (Gun gun : _gunsEquipped.keySet())
|
||||||
|
Loading…
Reference in New Issue
Block a user