diff --git a/QSB/API/AddonDataManager.cs b/QSB/API/AddonDataManager.cs index a3dfcf1b..30976e44 100644 --- a/QSB/API/AddonDataManager.cs +++ b/QSB/API/AddonDataManager.cs @@ -22,6 +22,6 @@ public static class AddonDataManager public static void RegisterHandler(string messageType, Action handler) { DebugLog.DebugWrite($"Registering handler for \"{messageType}\" with type of {typeof(T).Name}"); - _handlers.Add(messageType, o => handler((T)o)); + _handlers.Add(messageType, data => handler((T)data)); } }