mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-14 01:39:36 -04:00
Merge branch master-MC1.10 into master-MC1.11
This commit is contained in:
commit
edd4143f83
@ -58,6 +58,9 @@ class UpgradeCrafting(val host: EnvironmentHost with internal.Robot) extends Abs
|
||||
val cm = CraftingManager.getInstance
|
||||
var countCrafted = 0
|
||||
val originalCraft = cm.findMatchingRecipe(CraftingInventory, host.world)
|
||||
if (originalCraft == null) {
|
||||
return Seq(false, 0)
|
||||
}
|
||||
breakable {
|
||||
while (countCrafted < wantedCount) {
|
||||
val result = cm.findMatchingRecipe(CraftingInventory, host.world)
|
||||
|
Loading…
x
Reference in New Issue
Block a user