More cleanups, transports still not working. working on a fix.

This commit is contained in:
hondacrx
2022-06-21 15:43:35 -04:00
parent 63cbd18350
commit d42733e3b4
5 changed files with 11 additions and 6 deletions
+3
View File
@@ -70,6 +70,9 @@ namespace Game.Chat
if (type.IsEnum)
type = type.GetEnumUnderlyingType();
if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>))
type = Nullable.GetUnderlyingType(type);
switch (Type.GetTypeCode(type))
{
case TypeCode.SByte: