mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Merge pull request #6 from PhanaticD/wip-1.13
potentially fix CME reverting all tempblocks
This commit is contained in:
commit
081cdc1bb0
1 changed files with 5 additions and 1 deletions
|
@ -89,8 +89,12 @@ 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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue