mirror of
https://github.com/GTNewHorizons/ThaumicEnergistics.git
synced 2026-10-25 20:32:27 +00:00
Fix knowledge inscriber can't save recipes which are neither ShapedArcaneRecipe nor ShapelessArcaneRecipe (#146)
This commit is contained in:
1 parent
740adb8f8e
commit
533b54e5d1
1 file changed
+4
-2
@@ -477,8 +477,10 @@ public class ContainerKnowledgeInscriber extends ContainerWithPlayerInventory {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
// Unknown recipe type.
|
||||
return;
|
||||
// Dynamic recipes do not expose ingredients, so use the matched crafting grid.
|
||||
for (int slotNumber = 0; slotNumber < inputs.length; ++slotNumber) {
|
||||
inputs[slotNumber] = ItemStack.copyItemStack(this.craftingSlots[slotNumber].getStack());
|
||||
}
|
||||
}
|
||||
|
||||
// Get the aspect cost
|
||||
|
||||
Reference in new issue
Block a user