Fix scripted give of items

This commit is contained in:
Melanie Thielker
2010-07-17 02:26:09 +02:00
parent 2e5f200b3b
commit 9bf6179d24

View File

@@ -4177,7 +4177,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
byte[] bucket = new byte[17];
bucket[0] = (byte)assetType;
byte[] objBytes = objId.GetBytes();
byte[] objBytes = agentItem.ID.GetBytes();
Array.Copy(objBytes, 0, bucket, 1, 16);
Console.WriteLine("Giving inventory");