[Redstone Integrator] setAnalogOutput and getAnalogOutput can exceed maximum value
dogboy21 opened this issue ยท 0 comments
Describe
When using the Redstone Integrator, a analog output power greater than the redstone maximum of 15 can be set and retrieved.
Steps to reproduce
- Place a Computer and a Redstone integrator
- In the Lua console:
lua> p = peripheral.find("redstoneIntegrator")
lua> p.setAnalogOutput("back", 200)
lua> p.getAnalogOutput("back")
200
- The analog output is not clamped to the redstone maximum of 15
Multiplayer?
No
Version
Own compiled build.
Minecraft, Forge and maybe other related mods versions
Forge 43.3.13 / Minecraft 1.19.2
Screenshots or Videos
No response
Crashlog/log
No response