aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie Thielker2010-07-17 02:26:09 +0200
committerMelanie Thielker2010-07-17 02:26:09 +0200
commit9bf6179d24cc7fd63643627914272adc78385f1e (patch)
tree7e43a75f27440b5ec47394cfa91f56a37437b4a0 /OpenSim/Region/ScriptEngine/Shared/Api
parentFix showing CreateSelected on all parts of a rez (diff)
downloadopensim-SC_OLD-9bf6179d24cc7fd63643627914272adc78385f1e.zip
opensim-SC_OLD-9bf6179d24cc7fd63643627914272adc78385f1e.tar.gz
opensim-SC_OLD-9bf6179d24cc7fd63643627914272adc78385f1e.tar.bz2
opensim-SC_OLD-9bf6179d24cc7fd63643627914272adc78385f1e.tar.xz
Fix scripted give of items
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index defe633..b196642 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4177,7 +4177,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4177 4177
4178 byte[] bucket = new byte[17]; 4178 byte[] bucket = new byte[17];
4179 bucket[0] = (byte)assetType; 4179 bucket[0] = (byte)assetType;
4180 byte[] objBytes = objId.GetBytes(); 4180 byte[] objBytes = agentItem.ID.GetBytes();
4181 Array.Copy(objBytes, 0, bucket, 1, 16); 4181 Array.Copy(objBytes, 0, bucket, 1, 16);
4182 4182
4183 Console.WriteLine("Giving inventory"); 4183 Console.WriteLine("Giving inventory");