remove the network behaviour generic check. just be careful

This commit is contained in:
JohnCorby 2022-01-17 23:55:33 -08:00
parent e5b22c5d2b
commit 347cde2978

View File

@ -68,6 +68,7 @@ namespace Mirror.Weaver
return false;
}
/*
if (netBehaviourSubclass.HasGenericParameters)
{
Log.Error($"{netBehaviourSubclass.Name} cannot have generic parameters", netBehaviourSubclass);
@ -76,6 +77,7 @@ namespace Mirror.Weaver
// maybe return false here in the future.
return true;
}
*/
MarkAsProcessed(netBehaviourSubclass);
// deconstruct tuple and set fields