save setting after death

This commit is contained in:
slprime authored and Martin Robertz committed 2024-08-26 07:38:48 +02:00
1 parent 088e3dc0c5
commit 8cd024a01c
1 file changed
+2 -1
@@ -794,6 +794,7 @@ public class NEIClientConfig {
}
public static void loadWorld(String worldPath) {
unloadWorld();
NEIClientConfig.worldPath = worldPath;
setInternalEnabled(true);
@@ -808,6 +809,7 @@ public class NEIClientConfig {
world = new ConfigSet(new File(specificDir, "NEI.dat"), new ConfigFile(new File(specificDir, "NEI.cfg")));
bootNEI(ClientUtils.getWorld());
ItemPanels.bookmarkPanel.load();
onWorldLoad(newWorld);
}
@@ -907,7 +909,6 @@ public class NEIClientConfig {
LayoutManager.load();
NEIController.load();
BookmarkContainerInfo.load();
ItemPanels.bookmarkPanel.load();
mainNEIConfigLoaded = true;
new Thread("NEI Plugin Loader") {