feat: add wndproc nullref fix

This commit is contained in:
goaaats 2022-05-26 01:43:10 +02:00
parent 3cf47f7ec4
commit baad575c53
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
7 changed files with 112 additions and 3 deletions

View file

@ -140,7 +140,7 @@ namespace Dalamud.Plugin
/// <summary>
/// Gets a value indicating whether Dalamud is running in Debug mode or the /xldev menu is open. This can occur on release builds.
/// </summary>
public bool IsDevMenuOpen => Service<DalamudInterface>.GetNullable() is {IsDevMenuOpen: true}; // Can be null during boot
public bool IsDevMenuOpen => Service<DalamudInterface>.GetNullable() is { IsDevMenuOpen: true }; // Can be null during boot
/// <summary>
/// Gets a value indicating whether a debugger is attached.