Slight-gui-modifications or shuffle causes error when updating mods
Steps to reproduce
Steps to reproduce the behavior:
have slight-gui-modifications-2.1.0.jar and shuffle-4.0.0-fabric.jar
run mmm -v 1.19 --mod-loader fabric --verbose
Expected Behavior
both mods should update correctly
Info
OS: windows 11
Python --version: 3.10.2
minecraft-mod-manager --version: 1.3.0
Error output
🔍 Searching for mod
🔍 Searching for slight-gui-modifications on Sites.curse
🔍 Searching on Sites.curse
🔍 Searching on Sites.modrinth
Traceback (most recent call last):
File "C:\Users\****\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\****\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\****\AppData\Roaming\Python\Python310\Scripts\mmm.exe\__main__.py", line 7, in <module>
File "C:\Users\****\AppData\Roaming\Python\Python310\site-packages\minecraft_mod_manager\__main__.py", line 38, in main
update.execute(config.arg_mods)
File "C:\Users\****\AppData\Roaming\Python\Python310\site-packages\minecraft_mod_manager\app\update\update.py", line 31, in execute
self.find_download_and_install(mods_to_update)
File "C:\Users\****\AppData\Roaming\Python\Python310\site-packages\minecraft_mod_manager\app\download\download.py", line 35, in find_download_and_install
mod.sites = self._finder.find_mod(mod)
File "C:\Users\****\AppData\Roaming\Python\Python310\site-packages\minecraft_mod_manager\gateways\api\mod_finder.py", line 63, in find_mod
infos = api.search_mod(possible_name)
File "C:\Users\****\AppData\Roaming\Python\Python310\site-packages\minecraft_mod_manager\gateways\api\modrinth_api.py", line 53, in search_mod
mods = self._search_mod(search)
File "C:\Users\****\AppData\Roaming\Python\Python310\site-packages\minecraft_mod_manager\gateways\api\modrinth_api.py", line 73, in _search_mod
for mod_info in json["hits"]:
KeyError: 'hits'```
Describe the bug
Slight-gui-modifications or shuffle causes error when updating mods
Steps to reproduce
Steps to reproduce the behavior:
mmm -v 1.19 --mod-loader fabric --verbose
Expected Behavior
both mods should update correctly
Info
Error output