lambda icon indicating copy to clipboard operation
lambda copied to clipboard

[1.20.4] Bug: Reset messages use values from other modules

Open emyfops opened this issue 9 months ago • 1 comments

What happened?

  1. Open ClickGui
  2. Right-click on a module
  3. Modify any values whose setting names and type match with another module
  4. Click on 'Reset'
  5. See wrong module name in chat

The function causing the issue is com.lambda.config.Configuration.Companion#configurableBySetting It checks all the configurables and their settings, so if multiple settings match, it might take the wrong one thus the wrong module

Image

Image

What should have happened?

It should have displayed the right module name

Version

1.0.0

Log Output

No response

emyfops avatar Mar 20 '25 00:03 emyfops

I think I fixed this recently when i reworked settings and stored the configurable in the setting. This also removed the configurableBySetting util.

beanbag44 avatar Dec 13 '25 03:12 beanbag44