Skip to content

Commit f91db9f

Browse files
committed
Fix generic types registration in NetPacketProcessor (fix #458)
1 parent 0d6e323 commit f91db9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LiteNetLib/Utils/NetPacketProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ private static class HashCache<T>
1313
static HashCache()
1414
{
1515
ulong hash = 14695981039346656037UL; //offset
16-
string typeName = typeof(T).FullName;
16+
string typeName = typeof(T).ToString();
1717
for (var i = 0; i < typeName.Length; i++)
1818
{
1919
hash ^= typeName[i];

0 commit comments

Comments
 (0)