From 26051f8716a06368d6f4199e2c56355bcf1f3485 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sat, 29 Jul 2023 16:54:56 -0700 Subject: [PATCH] bleh --- QSB/API/AddonDataManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }