small startup performance optimization
This commit is contained in:
@ -35,6 +35,7 @@ namespace IW4MAdmin.Plugins.Welcome
|
||||
|
||||
public async Task OnLoadAsync(IManager manager)
|
||||
{
|
||||
await _configHandler.BuildAsync();
|
||||
if (_configHandler.Configuration() == null)
|
||||
{
|
||||
_configHandler.Set((WelcomeConfiguration) new WelcomeConfiguration().Generate());
|
||||
|
Reference in New Issue
Block a user