1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Merge pull request #1708 from MineGame159/structured-data

Fix StructuredData.ObjectToString()
This commit is contained in:
Brian Fiete 2022-09-11 05:34:20 -07:00 committed by GitHub
commit fade92d658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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))
{ {