mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 14:27:45 +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
|
try
|
||||||
{
|
{
|
||||||
if (this.eventHandlers.TryGetValue(eventParam, out var handler))
|
if (this.eventHandlers.TryGetValue(eventParam, out var handler) && eventData is not null)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue