mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Prevent a null ref in llGetLinkPrimiteveParams. Still not a fix for the real
issue.
This commit is contained in:
@@ -8750,7 +8750,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
remaining = GetPrimParams(avatar, rules, ref res);
|
||||
}
|
||||
|
||||
if (remaining != null && remaining.Length > 0)
|
||||
if ((object)remaining != null && remaining.Length > 0)
|
||||
{
|
||||
linknumber = remaining.GetLSLIntegerItem(0);
|
||||
rules = remaining.GetSublist(1, -1);
|
||||
|
||||
Reference in New Issue
Block a user