
CC:Tweaked - Can´t call selectRecipe on Automated Workbench
pat-gal opened this issue · 0 comments
Minecraft Version
1.20.1
Immersive Engineering Version
10.1.0-171
Expected Behavior
Calling selectRecipe
on the Automated Workbench with CC:Tweaked should set the recipe with the selected index from the blueprint in the workbench.
Actual Behavior
Calling selectRecipe
yields a exception thrown by CC:Tweaked (Origin of the exception):
Function arguments have escaped their original scope.
Retrieving all recipes (getAvailableRecepies
), the currently selected (getSelectedRecipe
) or unselecting (unselectRecipe
) all work.
Only selectRecipe
seems to be broken.
Steps to reproduce
- Connected CC:Tweaked Computer to Automated Workbench redstone interface
- executed the following script:
local p = peripheral.wrap("back")
print(p.getSelectedRecipe())
p.selectRecipe(1)
- received the mentioned error
Debug Crash Log
https://gist.github.com/pat-gal/cb4b2b64a9e6469712eda9a5e1d613af