potentially fix CME reverting all tempblocks

This commit is contained in:
PhanaticD 2019-01-15 01:10:57 -05:00
parent aa2c74ba31
commit 8aa84fc23c

View file

@ -89,9 +89,13 @@ public class TempBlock {
}
if (REVERT_QUEUE != null) {
for (final TempBlock tempblock : REVERT_QUEUE) {
tempblock.revertBlock();
tempblock.state.update(true);
if (tempblock.revertTask != null) {
tempblock.revertTask.run();
}
}
REVERT_QUEUE.clear();
}
}
public static void removeBlock(final Block block) {