OpenMods / OpenPeripheral

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

MFSU cannot pushItem "up" #113

Closed payonel closed 10 years ago

payonel commented 10 years ago

IC2 mfsu cannot pushItem "up". The same code works with other inventories such as chests.

m=peripheral.wrap("bottom") m.pushItem("up", 1, 1)

nevercast commented 10 years ago

https://github.com/OpenMods/OpenPeripheral/issues/104

nevercast commented 10 years ago

Check how many slots there are, some machines have hidden slots. Try another slot number.

boq commented 10 years ago

I looked into code and there was some weirdness in ISidedInventory handling. When inventory was on top, OP tried to push item from bottom side, which in case of MFSU was not allowed.

Bug fixed in newest build (OpenPeripheralCore 51).

pullItem was unaffected.