mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Use GetNullable
This commit is contained in:
parent
900c05cdeb
commit
4acadd5c9e
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ public sealed class DalamudPluginInterface : IDisposable
|
|||
/// <returns>Returns false if the DalamudInterface was null.</returns>
|
||||
public bool OpenPluginInstaller()
|
||||
{
|
||||
var dalamudInterface = Service<DalamudInterface>.Get();
|
||||
var dalamudInterface = Service<DalamudInterface>.GetNullable(); // Can be null during boot
|
||||
if (dalamudInterface == null)
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue