
Unable to Access Config on Lunar Client 1.21.1
bwarr-mc opened this issue ยท 1 comments
The issue
I am playing Minecraft 1.21.1 on Lunar Client with Fabric and I cannot access the config. Despite having the correct and most up to date Cloth Config, it still states that Cloth Config needs to be installed.
See the following when trying to access through the Mod Menu mod:
This also occurs when trying to run the "/citresewn config" command on both singleplayer and multiplayer:
Additionally, here are screenshots that show the versions of Cloth Config and Mod Menu, and that I am using Cloth Config for Fabric:
I have also tested on 1.21 and 1.20.4 and found the same issue.
How to reproduce
- Install latest versions of CIT Resewn, Cloth Config, and Mod Menu on the Lunar Client launcher for Minecraft 1.21.1 with Fabric.
- Run the game.
- Open the Mod Menu and attempt to access the config for CIT Resewn
Or - Join a singleplayer or multiplayer world and attempt to use the /citresewn config command
Logs
Checklist
- I checked the issues(both open and closed) and could not find a duplicate of my issue
- I am using the latest version of CIT Resewn for my Minecraft version
- I have disabled Broken Paths and the issue persists
- I am running the mod using Fabric Loader
I think I have found the issue for this.
The following 2 images show modified versions of CITResewnModMenu.java and CITResewnDefaultsModMenu.java I made:
Originally the .isModLoaded() was looking for "cloth-config2", but the mod ID should be "cloth_config" (see screenshot below)
I built CITResewn with the modified files and loaded it onto my Lunar client and the menu showed up as it should:
I am not sure how to upload this fix myself, but I hope this information will be useful!