Conflict with Useful Widgets Mod
LOLboy199 opened this issue ยท 0 comments
Forgive me.
Issue
The issue really is with the other mod and I went to them to fix it, but that ended with, "I've looked at the code and can't find the conflict, and I can't recreate the issue".
I don't know much at all about coding and since they tried and couldn't figure it out, this was my last hope to be able to use both mods.
If you don't feel like looking into this at all I understand, but if you could even just point me in the right direction to figure out the problem myself then that would be great. Really any help would be great.
It has something to do with Advanced Xray's blocks.json config file, but only and specifically when there are xray blocks configured. This then affects the main menu and pause menu buttons added by the Useful Widgets mod and I have no idea why because that doesn't even seem related. If for instance all of the configured blocks are deleted then the other mod will work again.
To Reproduce
Steps to reproduce the behavior:
- Have both Useful Widgets and Advanced Xray Fabric Installed
- Configure and save any blocks in any way in game to use with the Xray Mod
- Restart the game
- Useful Widgets mod buttons in menu and pause screen no longer work
Expected behavior
Xray seems to work fine either way which is why I feel bad for bothering you, but Useful Widgets adds a buttons to the main menu and to pause menus which lets you click on it and it will open up a web browser to a designated URL, like an in-game book mark.
Screenshots
Here's the little button I'm talking about in the menus.
I figure you probably know exactly what I was talking about but just in case:
empty blocks.json config file (which works with the other mod):
blocks.txt
Populated blocks.json config file (which does not work once the game is restarted):
blocks.txt
(converted them from .json to .txt to comply with gethub)
Minecraft Environment
- Minecraft Version: 1.18.1
- Fabric Loader Version: 0.12.12-1.18.1
- XRay Mod Version: v0.7.0-build.10
- Useful Widget Version: v1.0.1
Additional context
Here is the link to the Curseforge and Gethub of the other mod:
https://www.curseforge.com/minecraft/mc-mods/useful-widgets-mod
https://github.com/BurritoBandit28/Useful-Widgets
Thank you in advance for any help I get. It is much appreciated.