ModManagerMC / ModManager

A ModManager extension for ModMenu
Apache License 2.0
79 stars 11 forks source link

[BUG] Game won;t load after updating mod with mod manager but will work if same mod is downloaded from site, button to toggle seeing updates for mods displays incrorectly. #95

Closed keatit71 closed 2 years ago

keatit71 commented 2 years ago

Describe the bug After updating continuity to 1.02 with mod manager it told me to relaunch and after relaunching the game gave me an error

Also the button that toggles showing mods updates isn;t displaying properly

image

To Reproduce Steps to reproduce the behavior:

  1. Open game and go to mod settings
  2. Click on download button
  3. Update continuity and restart
  4. See error

Expected behavior Load game

Please complete the following information:

Logs Latest log: 2021-11-07-6.log

Crash-report (if any): java.lang.RuntimeException: Could not execute entrypoint stage 'preLaunch' due to errors, provided by 'modmanager'! at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:134) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) at org.multimc.EntryPoint.listen(EntryPoint.java:143) at org.multimc.EntryPoint.main(EntryPoint.java:34) Caused by: java.nio.file.NoSuchFileException: D:\Games\MultiMC\instances\1.17.1.minecraft\mods\continuity-1.0.0+1.17.jar at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:275) at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:105) at java.base/java.nio.file.Files.delete(Files.java:1146) at xyz.deathsgun.modmanager.PreLaunchHook.onPreLaunch(PreLaunchHook.kt:42) at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ... 12 more

DeathsGun commented 2 years ago

Fixed the crash. Does the issue with the button also occur with the configure button from ModMenu because I use the same button except that i can change the textures dynamically.

keatit71 commented 2 years ago

No just your button.

DeathsGun commented 2 years ago

Is that black background a resource pack?

keatit71 commented 2 years ago

yes and i tried disabling it and going through the resource packs enabled and it displays fine now so maybe that was because i disabled that bedrockify feature and needed to restart which bugged the button out.

DeathsGun commented 2 years ago

yeah that's possible. I will close this with the PR, you can open this again if the button is weird again