Restore block when break is cancelled because it can be in the air phase and not get restored.
This commit is contained in:
parent
9b53e15b4f
commit
0e9d401717
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue