mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
[AddonEventManager] Add null check
This commit is contained in:
parent
c095f99cd1
commit
7ac37a579b
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ internal unsafe class AddonEventManager : IDisposable, IServiceType
|
|||
{
|
||||
try
|
||||
{
|
||||
if (this.eventHandlers.TryGetValue(eventParam, out var handler))
|
||||
if (this.eventHandlers.TryGetValue(eventParam, out var handler) && eventData is not null)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue