mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Cause llGetInventoryType to return the asset type, which corresponds with
the LSL constants.
This commit is contained in:
@@ -7940,7 +7940,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
if (inv.Value.Name == name)
|
||||
{
|
||||
return inv.Value.InvType;
|
||||
return inv.Value.Type;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user