diff options
Fix some syntax issues
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index fe5f198..6530f14 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2359,7 +2359,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2359 | if (module != null) | 2359 | if (module != null) |
2360 | { | 2360 | { |
2361 | UUID npcID = new UUID(npc.m_string); | 2361 | UUID npcID = new UUID(npc.m_string); |
2362 | if (module.IsNPC(npcID)) | 2362 | if (module.IsNPC(npcID, m_host.ParentGroup.Scene)) |
2363 | { | 2363 | { |
2364 | UUID ownerID = module.GetOwner(npcID); | 2364 | UUID ownerID = module.GetOwner(npcID); |
2365 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) | 2365 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) |
@@ -2376,7 +2376,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2376 | if (module != null) | 2376 | if (module != null) |
2377 | { | 2377 | { |
2378 | UUID npcID = new UUID(npc.m_string); | 2378 | UUID npcID = new UUID(npc.m_string); |
2379 | if (module.IsNPC(npcID)) | 2379 | if (module.IsNPC(npcID, m_host.ParentGroup.Scene)) |
2380 | { | 2380 | { |
2381 | UUID ownerID = module.GetOwner(npcID); | 2381 | UUID ownerID = module.GetOwner(npcID); |
2382 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) | 2382 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) |