mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix issue with unloaded Message Service.
This commit is contained in:
parent
9311f80455
commit
981721ae85
2 changed files with 5 additions and 2 deletions
2
OtterGui
2
OtterGui
|
|
@ -1 +1 @@
|
|||
Subproject commit 22ae2a8993ebf3af2313072968a44905a3fcdd2a
|
||||
Subproject commit 2c603cea9b1d4dd500e30972b64bd2f25012dc4c
|
||||
|
|
@ -55,7 +55,10 @@ public class Penumbra : IDalamudPlugin
|
|||
_services = ServiceManagerA.CreateProvider(this, pluginInterface, Log);
|
||||
Messager = _services.GetService<MessageService>();
|
||||
_validityChecker = _services.GetService<ValidityChecker>();
|
||||
var startup = _services.GetService<DalamudConfigService>().GetDalamudConfig(DalamudConfigService.WaitingForPluginsOption, out bool s)
|
||||
_services.EnsureRequiredServices();
|
||||
|
||||
var startup = _services.GetService<DalamudConfigService>()
|
||||
.GetDalamudConfig(DalamudConfigService.WaitingForPluginsOption, out bool s)
|
||||
? s.ToString()
|
||||
: "Unknown";
|
||||
Log.Information(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue