Queue runner was not running when in database mode

This commit is contained in:
zontreck 2024-04-25 00:24:02 -07:00
parent 995e78dec8
commit 05e6fb1e29
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ public class BlockRestoreRunner implements Runnable
@Override
public void run() {
if(queue.getQueuedBlocks() == 0) return; // We'll be queued back up later
if(queue.getQueuedBlocks() == 0 && !queue.usesDatabase()) return; // We'll be queued back up later
PrimitiveBlock prim = queue.getNextBlock();