ok change a confusing expire renew of 0 (that does mean that cache min expire time)

This commit is contained in:
UbitUmarov
2020-08-17 15:11:48 +01:00
parent 5bafd97c69
commit 6dcb4ed7a0

View File

@@ -18605,7 +18605,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public static int GetLines(UUID assetID)
{
if (m_Notecards.TryGetValue(assetID, 0, out string[] text))
if (m_Notecards.TryGetValue(assetID, 30000, out string[] text))
return text.Length;
return -1;
}
@@ -18618,7 +18618,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
/// <returns></returns>
public static string GetLine(UUID assetID, int lineNumber)
{
if (lineNumber >= 0 && m_Notecards.TryGetValue(assetID, 0, out string[] text))
if (lineNumber >= 0 && m_Notecards.TryGetValue(assetID, 30000, out string[] text))
{
if (lineNumber >= text.Length)
return "\n\n\n";