From 4e8f1ade731a336e39c3864791bc7ede7c6e606c Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Thu, 3 Aug 2023 14:42:21 -0700 Subject: [PATCH] remove QSBMessage check from RegisterNotRequiredForAllPlayers --- QSB/QSBCore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index 927a724a..8b22b71c 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -242,9 +242,9 @@ public class QSBCore : ModBehaviour foreach (var type in addonAssembly.GetTypes()) { - if (typeof(QSBMessage).IsAssignableFrom(type) || typeof(WorldObjectManager).IsAssignableFrom(type) || typeof(IWorldObject).IsAssignableFrom(type)) + if (typeof(WorldObjectManager).IsAssignableFrom(type) || typeof(IWorldObject).IsAssignableFrom(type)) { - DebugLog.ToConsole($"Addon \"{uniqueName}\" cannot be cosmetic, as it creates networking events or objects.", MessageType.Error); + DebugLog.ToConsole($"Addon \"{uniqueName}\" cannot be cosmetic, as it creates networking objects.", MessageType.Error); return; } }