lambda
lambda copied to clipboard
[1.20.4] Bug: Reset messages use values from other modules
What happened?
- Open ClickGui
- Right-click on a module
- Modify any values whose setting names and type match with another module
- Click on 'Reset'
- 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
What should have happened?
It should have displayed the right module name
Version
1.0.0
Log Output
No response
I think I fixed this recently when i reworked settings and stored the configurable in the setting. This also removed the configurableBySetting util.