forked from Qortal/qortal
Fixed bug in build manager which would prevent future builds until the core was restarted.
This commit is contained in:
parent
cfe0414d96
commit
3c526db52e
@ -39,7 +39,7 @@ public class ArbitraryDataBuilderThread implements Runnable {
|
|||||||
Map.Entry<String, ArbitraryDataBuildQueueItem> next = buildManager.arbitraryDataBuildQueue
|
Map.Entry<String, ArbitraryDataBuildQueueItem> next = buildManager.arbitraryDataBuildQueue
|
||||||
.entrySet().stream()
|
.entrySet().stream()
|
||||||
.filter(e -> e.getValue().isQueued())
|
.filter(e -> e.getValue().isQueued())
|
||||||
.findFirst().get();
|
.findFirst().orElse(null);
|
||||||
|
|
||||||
if (next == null) {
|
if (next == null) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user