Advanced Peripherals

Advanced Peripherals

29M Downloads

[Redstone Integrator] setAnalogOutput and getAnalogOutput can exceed maximum value

dogboy21 opened this issue ยท 0 comments

commented

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

  1. Place a Computer and a Redstone integrator
  2. In the Lua console:
lua> p = peripheral.find("redstoneIntegrator")
lua> p.setAnalogOutput("back", 200)
lua> p.getAnalogOutput("back")
200
  1. 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