mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +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())
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user