OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

peripheral.pullItem doens't work with a Mystcraft book receptacle #95

Closed Cisien closed 10 years ago

Cisien commented 10 years ago

The following simple example returns 0 when trying to move a linking book from the turtle's inventory to a book receptacle located above the turtle. This worked in a previous version of Open Peripherals.

Placing a vanilla chest above the turtle and running the same commands gives the expected outcome (the book is moved from the turtle's inventory to the chest).

p = peripheral.wrap("top")
p.pullItem("down", 1, 1)

The following code example works with the book receptacle, however. (and is a valid workaround)

p = peripheral.wrap("top")
p.pullItemIntoSlot("down", 1, 1, 1)
SinZ163 commented 10 years ago

Works fine for me, try updating your OpenPeripheral