1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +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))
{
((uint32)theObject).ToString(str);
str.Append("U");
//str.Append("U");
}
else if (type == typeof(System.Int64))
{
((uint64)theObject).ToString(str);
str.Append("L");
((int64)theObject).ToString(str);
//str.Append("L");
}
else if (type == typeof(System.UInt64))
{
((uint64)theObject).ToString(str);
str.Append("UL");
//str.Append("UL");
}
else if (type == typeof(System.Int))
{