Fix scripted give of items
parent
2e5f200b3b
commit
9bf6179d24
|
@ -4177,7 +4177,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
byte[] bucket = new byte[17];
|
byte[] bucket = new byte[17];
|
||||||
bucket[0] = (byte)assetType;
|
bucket[0] = (byte)assetType;
|
||||||
byte[] objBytes = objId.GetBytes();
|
byte[] objBytes = agentItem.ID.GetBytes();
|
||||||
Array.Copy(objBytes, 0, bucket, 1, 16);
|
Array.Copy(objBytes, 0, bucket, 1, 16);
|
||||||
|
|
||||||
Console.WriteLine("Giving inventory");
|
Console.WriteLine("Giving inventory");
|
||||||
|
|
Loading…
Reference in New Issue