diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index e003a59f6a..5197f5802d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -1063,6 +1063,10 @@ namespace OpenSim.Region.Framework.Scenes if (!Permissions.CanCreateUserInventory(invType, remoteClient.AgentId)) return; + if (type != (sbyte)AssetType.Link || type != (sbyte)AssetType.LinkFolder) + return; + + ScenePresence presence; if (TryGetScenePresence(remoteClient.AgentId, out presence)) {