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 efb77ae..b3477ac 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2350,7 +2350,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2350 | if (module != null) | 2350 | if (module != null) |
2351 | { | 2351 | { |
2352 | UUID npcID = new UUID(npc.m_string); | 2352 | UUID npcID = new UUID(npc.m_string); |
2353 | if (module.IsNPC(npcID)) | 2353 | if (module.IsNPC(npcID, m_host.ParentGroup.Scene)) |
2354 | { | 2354 | { |
2355 | UUID ownerID = module.GetOwner(npcID); | 2355 | UUID ownerID = module.GetOwner(npcID); |
2356 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) | 2356 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) |
@@ -2367,7 +2367,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2367 | if (module != null) | 2367 | if (module != null) |
2368 | { | 2368 | { |
2369 | UUID npcID = new UUID(npc.m_string); | 2369 | UUID npcID = new UUID(npc.m_string); |
2370 | if (module.IsNPC(npcID)) | 2370 | if (module.IsNPC(npcID, m_host.ParentGroup.Scene)) |
2371 | { | 2371 | { |
2372 | UUID ownerID = module.GetOwner(npcID); | 2372 | UUID ownerID = module.GetOwner(npcID); |
2373 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) | 2373 | if (ownerID == UUID.Zero || ownerID == m_host.OwnerID) |