diff options
author | Melanie Thielker | 2010-07-17 02:26:09 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-17 02:26:09 +0200 |
commit | 9bf6179d24cc7fd63643627914272adc78385f1e (patch) | |
tree | 7e43a75f27440b5ec47394cfa91f56a37437b4a0 /OpenSim/Region/ScriptEngine/Shared | |
parent | Fix showing CreateSelected on all parts of a rez (diff) | |
download | opensim-SC-9bf6179d24cc7fd63643627914272adc78385f1e.zip opensim-SC-9bf6179d24cc7fd63643627914272adc78385f1e.tar.gz opensim-SC-9bf6179d24cc7fd63643627914272adc78385f1e.tar.bz2 opensim-SC-9bf6179d24cc7fd63643627914272adc78385f1e.tar.xz |
Fix scripted give of items
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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"); |