mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
A attempt to fix the user manager db4o crash bug (where you have to delete userprofiles.yap to get opensim to start)
This commit is contained in:
@@ -123,7 +123,10 @@ namespace OpenSim.Framework.Data.DB4o
|
||||
IObjectSet result = database.Get(typeof(UserProfileData));
|
||||
foreach (UserProfileData row in result)
|
||||
{
|
||||
userProfiles.Add(row.UUID, row);
|
||||
if (!userProfiles.ContainsKey(row.UUID))
|
||||
{
|
||||
userProfiles.Add(row.UUID, row);
|
||||
}
|
||||
}
|
||||
database.Close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user