mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Binary Guids are 16 chars long. Fix parser.
This commit is contained in:
@@ -27,7 +27,7 @@ namespace OpenSim.Data
|
||||
{
|
||||
if (((byte[])id).Length == 0)
|
||||
return UUID.Zero;
|
||||
else if (((byte[])id).Length == 36)
|
||||
else if (((byte[])id).Length == 16)
|
||||
return new UUID((byte[])id, 0);
|
||||
}
|
||||
else if (id.GetType() == typeof(string))
|
||||
|
||||
Reference in New Issue
Block a user