fix for error on null owner_uuid field

ThreadPoolClientBranch
Brian McBee 2008-02-02 18:20:25 +00:00
parent 7476b26ae7
commit bd32563c4c
1 changed files with 8 additions and 1 deletions

View File

@ -343,7 +343,14 @@ namespace OpenSim.Framework.Data.MySQL
// for the UUID of the region's owner (master avatar)
//
//retval.owner_uuid = (string) reader["owner_uuid"];
try
{
retval.owner_uuid = new LLUUID((string)reader["owner_uuid"]);
}
catch
{
retval.owner_uuid = LLUUID.Zero;
}
//
// end of daTwitch's mods to this file
}