Immersive Engineering

Immersive Engineering

152M Downloads

CC:Tweaked - Can´t call selectRecipe on Automated Workbench

pat-gal opened this issue · 0 comments

commented

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

  1. Connected CC:Tweaked Computer to Automated Workbench redstone interface
  2. executed the following script:
local p = peripheral.wrap("back")
print(p.getSelectedRecipe())
p.selectRecipe(1)
  1. received the mentioned error

Debug Crash Log

https://gist.github.com/pat-gal/cb4b2b64a9e6469712eda9a5e1d613af