mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Disable unowned NPCs
This commit is contained in:
@@ -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)
|
||||
{
|
||||
if (!owned)
|
||||
OSSL_Error("Unowned NPCs are unsupported");
|
||||
|
||||
string groupTitle = String.Empty;
|
||||
|
||||
if (firstname != String.Empty || lastname != String.Empty)
|
||||
|
||||
Reference in New Issue
Block a user