Fix scripted give of items

avinationmerge
Melanie Thielker 2010-07-17 02:26:09 +02:00
parent 2e5f200b3b
commit 9bf6179d24
1 changed files with 1 additions and 1 deletions

View File

@ -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");