Fix a few little things

This commit is contained in:
Melanie
2011-02-27 18:55:17 +01:00
parent 2b04cab1ee
commit cea47491de
2 changed files with 5 additions and 0 deletions

View File

@@ -321,6 +321,8 @@ namespace OpenSim.Region.Framework.Scenes
// Passing something to another avatar or a an object will already
InventoryItemBase item = new InventoryItemBase(itemID, remoteClient.AgentId);
item = InventoryService.GetItem(item);
if (item.Owner != remoteClient.AgentId)
return;
if (item != null)
{