Send config updates on close

This commit is contained in:
Ron Young
2018-12-18 10:09:44 -06:00
parent a2ce534a25
commit 6f0fb9cde2
2 changed files with 2 additions and 1 deletions

View File

@@ -561,7 +561,7 @@ public class ConfigManager
return object.toString(); return object.toString();
} }
private void sendConfig() public void sendConfig()
{ {
synchronized (pendingChanges) synchronized (pendingChanges)
{ {

View File

@@ -320,6 +320,7 @@ public class ClientUI
() -> () ->
{ {
saveClientBoundsConfig(); saveClientBoundsConfig();
configManager.sendConfig();
runelite.shutdown(); runelite.shutdown();
}, },
this::showWarningOnExit this::showWarningOnExit