mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 12:21:25 +00:00
remove QSBMessage check from RegisterNotRequiredForAllPlayers
This commit is contained in:
parent
390e6b5a00
commit
4e8f1ade73
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user