CC: Restiched integration doesn't fully work
1e1001 opened this issue · 3 comments
The result of redstone.getBundledInput
will only return the first n 1
bits, where n is the number of bundled cables pointed towards the computer in the block. For example, if you have the maximum number of cables connected, 5, like so:
and write 01010101010101012 (555516, or 2184510), you'll read in 01010101010000002 (554016, or 2182410).
I believe this line might be causing the bug, using (acc and mask.inv())
instead of (res and mask.inv())
.
Thanks for reporting this. I'll look into it as soon as I can.
I believe this line might be causing the bug, using (acc and mask.inv()) instead of (res and mask.inv()).
This does indeed look like the problem. I had the same problem while reading and fixed it there. Looks like it forgot to fix it here though.
Ok, the fix for this has been released in v0.3.2
.