Hopefully fixes userprofiles.yap problem on startup. (thanks Adam!)
parent
f5955ab539
commit
95b89096c4
|
@ -123,11 +123,10 @@ namespace OpenSim.Framework.Data.DB4o
|
||||||
IObjectSet result = database.Get(typeof(UserProfileData));
|
IObjectSet result = database.Get(typeof(UserProfileData));
|
||||||
foreach (UserProfileData row in result)
|
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);
|
userProfiles.Add(row.UUID, row);
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
database.Close();
|
database.Close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue