Disable unowned NPCs
parent
cf166d3f1e
commit
aa2cde2493
|
@ -2106,6 +2106,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
private LSL_Key NpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, bool owned)
|
private LSL_Key NpcCreate(string firstname, string lastname, LSL_Vector position, string notecard, bool owned)
|
||||||
{
|
{
|
||||||
|
if (!owned)
|
||||||
|
OSSL_Error("Unowned NPCs are unsupported");
|
||||||
|
|
||||||
string groupTitle = String.Empty;
|
string groupTitle = String.Empty;
|
||||||
|
|
||||||
if (firstname != String.Empty || lastname != String.Empty)
|
if (firstname != String.Empty || lastname != String.Empty)
|
||||||
|
|
Loading…
Reference in New Issue