Closed lumiru closed 7 years ago
It is normally just to save memory - singleplayer needs only one world loaded at a time. Also, if you open up a world again in singleplayer, you would expect the newest settings to be loaded from disk, which is not the case if the world stays loaded.
Nevertheless, I'm accepting this pull request, as it is better than crashing.
If you want, I can give you commit access to TC. I am not familiar at all with Forge, so my code barely works on Forge. Any help would be welcome.
This change has to be modified (remove listener or replace comment by some conditions) but I need explanations to understand why we need to unload TC configuration on some cases (the log I added do not help me to understand why).