Closed MrKinau closed 4 months ago
Does this change let the client reload if packs have been moved but not the "server" pack?
Will do some tests myself but wanted to ask before hand incase you already knew
It does reload, if the order of the enabled resource packs changes, even if the server pack is not moved.
Due to changing how the mod works now, this can't be implemented.
The issue I intend to fix with this PR is, that the resource pack loading screen will show up upon closing the resource pack selection screen, even if no change was made in the screen. This happens, because Minecraft detects a new resource pack ("server") and triggers a reload. Not sure if this is the "right" way to fix this, but it works (on my machine). Additionally I fixed a crash during startup, which happened to me in the dev environment, because the config folder was not created while Server-Pack-Unlocker loads, not sure if this could happen in a real environment.