Skip to content

fix(redstone): getBundledOutput returns output not input (NEW-144)#58

Open
ximaks00-hue wants to merge 1 commit into
akki697222:dev-MC1.20from
ximaks00-hue:fix/new-144-bundled-redstone-output
Open

fix(redstone): getBundledOutput returns output not input (NEW-144)#58
ximaks00-hue wants to merge 1 commit into
akki697222:dev-MC1.20from
ximaks00-hue:fix/new-144-bundled-redstone-output

Conversation

@ximaks00-hue

Copy link
Copy Markdown
Contributor

Summary

  • NEW-144: getBundledOutput() returned _bundledInput (copy-paste regression). Lua saw incoming bundled signals instead of machine output.

Fix

Return _bundledOutput from the no-arg getter, matching per-side accessors.

Test plan

  • Case/relay bundled output Lua API matches driven channels

…t (NEW-144)

BundledRedstoneAware.getBundledOutput() returned _bundledInput due to a copy-paste regression. Lua scripts reading bundled output on cases, relays, and transposers therefore saw incoming signals instead of what the machine drives outward.

Restore Original semantics: the no-arg getter mirrors per-side output state stored in _bundledOutput.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants