= Updated to mostly mitigate threading issue
This commit is contained in:
1 parent
c4bc3e41d7
commit
c837e2f190
2 files changed
+5
-1
No files matched your search
@@ -66,7 +66,10 @@ public class Config
|
||||
GlobalLog.log("File updated at " + monitoredFile.path);
|
||||
buildConfigFile(monitoredFile.path.toString());
|
||||
|
||||
// Re-register all commands now that we've updated the config
|
||||
// Re-register all commands now that we've updated the config.
|
||||
// Before we do that tho, sync off anything that needs syncing.
|
||||
// TODO: This is not thread safe.
|
||||
DatabaseManager.instance.upkeep();
|
||||
CommandManager.instance.registerAllCommands();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user