
Redstone API claims to accept integers as side numbers, but doesn’t
Hawk777 opened this issue · 0 comments
According to the documentation built into the redstone API:
Sides may be specified by name or zero-based index.
However:
> r:setRedstoneOutput(0,0)
/mnt/builtin/lib/lua/devices.lua:256: IllegalArgumentException
stack traceback:
[C]: in function 'error'
/mnt/builtin/lib/lua/devices.lua:256: in function </mnt/builtin/lib/lua/dev>
(...tail calls...)
[C]: in ?
OC2 0.1.6+5d0bd81