1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fix StructuredData.ObjectToString()

This commit is contained in:
MineGame159 2022-09-11 13:35:07 +02:00
parent c270acdb39
commit 5fc52fb01f

View file

@ -1190,17 +1190,17 @@ namespace Beefy.utils
else if (type == typeof(System.UInt32)) else if (type == typeof(System.UInt32))
{ {
((uint32)theObject).ToString(str); ((uint32)theObject).ToString(str);
str.Append("U"); //str.Append("U");
} }
else if (type == typeof(System.Int64)) else if (type == typeof(System.Int64))
{ {
((uint64)theObject).ToString(str); ((int64)theObject).ToString(str);
str.Append("L"); //str.Append("L");
} }
else if (type == typeof(System.UInt64)) else if (type == typeof(System.UInt64))
{ {
((uint64)theObject).ToString(str); ((uint64)theObject).ToString(str);
str.Append("UL"); //str.Append("UL");
} }
else if (type == typeof(System.Int)) else if (type == typeof(System.Int))
{ {