mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 10:46:00 +08:00
* Tweak the caps manager so that the NPCAvatar works again.
This commit is contained in:
@@ -581,7 +581,10 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
}
|
||||
lock (m_landIDList)
|
||||
{
|
||||
return m_landList[m_landIDList[x / 4, y / 4]];
|
||||
if (m_landList.ContainsKey(m_landIDList[x / 4, y / 4]))
|
||||
return m_landList[m_landIDList[x / 4, y / 4]];
|
||||
else
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user