aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index 3ea7352..a0ae55a 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -299,13 +299,16 @@ namespace OpenSim.Region.OptionalModules.World.NPC
299 NPCAvatar av; 299 NPCAvatar av;
300 if (m_avatars.TryGetValue(agentID, out av)) 300 if (m_avatars.TryGetValue(agentID, out av))
301 { 301 {
302// m_log.DebugFormat("[NPC MODULE]: Found {0} {1} to remove", agentID, av.Name);
302 scene.RemoveClient(agentID, false); 303 scene.RemoveClient(agentID, false);
303 m_avatars.Remove(agentID); 304 m_avatars.Remove(agentID);
304 305
306// m_log.DebugFormat("[NPC MODULE]: Removed {0} {1}", agentID, av.Name);
305 return true; 307 return true;
306 } 308 }
307 } 309 }
308 310
311// m_log.DebugFormat("[NPC MODULE]: Could not find {0} to remove", agentID);
309 return false; 312 return false;
310 } 313 }
311 314