Hopefully fixes userprofiles.yap problem on startup. (thanks Adam!)
parent
f5955ab539
commit
95b89096c4
|
@ -123,12 +123,11 @@ namespace OpenSim.Framework.Data.DB4o
|
|||
IObjectSet result = database.Get(typeof(UserProfileData));
|
||||
foreach (UserProfileData row in result)
|
||||
{
|
||||
if (!userProfiles.ContainsKey(row.UUID))
|
||||
{
|
||||
if (userProfiles.ContainsKey(row.UUID))
|
||||
userProfiles[row.UUID] = row;
|
||||
else
|
||||
userProfiles.Add(row.UUID, row);
|
||||
}
|
||||
|
||||
}
|
||||
database.Close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue