Merge branch '1.21' into new-container-api
This commit is contained in:
commit
16d492073b
@ -122,7 +122,7 @@ class MatterScannerBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) :
|
||||
var findState: PatternState? = null
|
||||
|
||||
for (state in matterNode.graph.patterns.filter { it.item === stack.item }) {
|
||||
if (state.researchPercent < 1.0) {
|
||||
if (state.researchPercent < 1.0 && findState == null) {
|
||||
findState = state
|
||||
} else if (state.researchPercent >= 1.0) {
|
||||
return JobContainer.noItem()
|
||||
|
Loading…
Reference in New Issue
Block a user