= Updated to mostly mitigate threading issue
This commit is contained in:
@@ -101,6 +101,7 @@
|
||||
"Localized Strings","CharacterEditURLNotAuth","You're not authorized to change that character! "
|
||||
"Localized Strings","CharacterEditURLNotValid","That's not a valid url! "
|
||||
"Localized Strings","CharacterEditURLSuccess","Successfully changed your reference! "
|
||||
"Localized Strings","CharacterInfo",""
|
||||
"Localized Strings","CharacterSearchInfo","Find a character with their name or Unique ID! `charactersearch name` or `charactersearch UniqueID`"
|
||||
"Localized Strings","CharacterSearchMultipleCharacter","%s is owned by %s. Unique ID is `%s`"
|
||||
"Localized Strings","CharacterSearchMultipleCharacterHeader","I found a couple characters with that name, use `charactersearch UniqueID` with their Unique ID to find them!"
|
||||
|
||||
|
@@ -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