Steps to Reproduce the Bug
- Setup a local MP server on a connection that uses a dynamic IP
- Connect to the server
- Save some items/recipes
- Disconnect
- Reconnect after a new IP was assigned
Expected Behavior
All saved items and recipes are still available
Actual Behavior
Saved items and recipes are gone
Mod Pack URL (Optional)
https://www.curseforge.com/minecraft/modpacks/ftb-stoneblock-4
Mod Pack Version (Optional)
1.8.0
Extra Notes (Optional)
This seems to be related to #3925 even though I do not think the workaround described there will work.
I had a look into the sourcecode and with no real knowledge of the project I strongly assume that the issue arises due to private static Optional<Path> getWorldPath() in Common/src/main/java/mezz/jei/common/util/ServerConfigPathUtil.java where a hash is calculated from the server IP and appended to the configuration folder name. This will return a different string when the dynamic IP changes. I don't have a good idea how to fix this, unfortunately.
latest.log
https://gist.github.com/FelixGrafschmidt/ec83626ce0ede014a32cf8696b40d795
Steps to Reproduce the Bug
Expected Behavior
All saved items and recipes are still available
Actual Behavior
Saved items and recipes are gone
Mod Pack URL (Optional)
https://www.curseforge.com/minecraft/modpacks/ftb-stoneblock-4
Mod Pack Version (Optional)
1.8.0
Extra Notes (Optional)
This seems to be related to #3925 even though I do not think the workaround described there will work.
I had a look into the sourcecode and with no real knowledge of the project I strongly assume that the issue arises due to
private static Optional<Path> getWorldPath()inCommon/src/main/java/mezz/jei/common/util/ServerConfigPathUtil.javawhere a hash is calculated from the server IP and appended to the configuration folder name. This will return a different string when the dynamic IP changes. I don't have a good idea how to fix this, unfortunately.latest.log
https://gist.github.com/FelixGrafschmidt/ec83626ce0ede014a32cf8696b40d795