mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-01 09:59:18 +00:00
potentially fix CME reverting all tempblocks
This commit is contained in:
parent
aa2c74ba31
commit
8aa84fc23c
|
@ -89,8 +89,12 @@ public class TempBlock {
|
||||||
}
|
}
|
||||||
if (REVERT_QUEUE != null) {
|
if (REVERT_QUEUE != null) {
|
||||||
for (final TempBlock tempblock : REVERT_QUEUE) {
|
for (final TempBlock tempblock : REVERT_QUEUE) {
|
||||||
tempblock.revertBlock();
|
tempblock.state.update(true);
|
||||||
|
if (tempblock.revertTask != null) {
|
||||||
|
tempblock.revertTask.run();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
REVERT_QUEUE.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue