mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
* Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow them out.
* Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.) * Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
This commit is contained in:
@@ -1524,7 +1524,15 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
|
||||
CreateAndAddScenePresence(client, child);
|
||||
|
||||
LandChannel.SendParcelOverlay(client);
|
||||
try
|
||||
{
|
||||
LandChannel.SendParcelOverlay(client);
|
||||
} //BUG: Mike - please fix this.
|
||||
catch (KeyNotFoundException)
|
||||
{
|
||||
m_log.Warn("[LAND]: Bug #2 triggered with NPC. LandModule needs a refactor to fix this.");
|
||||
}
|
||||
|
||||
CommsManager.UserProfileCacheService.AddNewUser(client.AgentId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user