Since /reload reloads everything, we can cache isIncomplete
This commit is contained in:
parent
571c7bc339
commit
4db52b83c4
@ -89,8 +89,12 @@ open class MatterEntanglerRecipe(
|
||||
return ingredients.ingredients()
|
||||
}
|
||||
|
||||
private val isIncomplete by lazy(LazyThreadSafetyMode.PUBLICATION) {
|
||||
result.isEmpty || ingredients.isIncomplete
|
||||
}
|
||||
|
||||
override fun isIncomplete(): Boolean {
|
||||
return result.isEmpty || ingredients.isIncomplete
|
||||
return isIncomplete
|
||||
}
|
||||
|
||||
override fun isSpecial(): Boolean {
|
||||
|
Loading…
Reference in New Issue
Block a user