Restore block when break is cancelled because it can be in the air phase and not get restored.

This commit is contained in:
Virizion 2015-12-09 22:32:39 -05:00
parent 9b53e15b4f
commit 0e9d401717
1 changed files with 6 additions and 1 deletions

View File

@ -92,7 +92,12 @@ public class DemolitionData
public void cancelBreak() public void cancelBreak()
{ {
despawnHologram(); despawnHologram();
for (Block block : Blocks.keySet())
{
Blocks.get(block).update(true, false);
}
Parent.BlocksForDemolition.remove(this); Parent.BlocksForDemolition.remove(this);
} }