aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 62cd75f..e3a750d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -2106,6 +2106,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2106 2106
2107 private LSL_Key NpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, bool owned) 2107 private LSL_Key NpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, bool owned)
2108 { 2108 {
2109 if (!owned)
2110 OSSL_Error("Unowned NPCs are unsupported");
2111
2109 string groupTitle = String.Empty; 2112 string groupTitle = String.Empty;
2110 2113
2111 if (firstname != String.Empty || lastname != String.Empty) 2114 if (firstname != String.Empty || lastname != String.Empty)