cosmetics

This commit is contained in:
UbitUmarov
2026-03-15 04:45:37 +00:00
parent 66fb7dee6b
commit 2a5389cc67
17 changed files with 57 additions and 54 deletions

View File

@@ -948,7 +948,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
return (float)dov;
if (o is LSL_Types.LSLString lso)
return Convert.ToSingle(lso.m_string);
throw new InvalidCastException(string.Format($"LSL float expected but {0} given", o is not null ? o.GetType().Name : "null"));
throw new InvalidCastException(string.Format("LSL float expected but {0} given", o is not null ? o.GetType().Name : "null"));
}
public LSL_Types.LSLString GetLSLStringItem(int itemIndex)

View File

@@ -228,7 +228,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
string oscode = Enum.GetName(typeof(SceneScriptEvents), 1UL << i);
if(mycode != oscode)
{
m_log.ErrorFormat($"[YEngine]: {i} mycode={mycode}, oscode={oscode}");
m_log.Error($"[YEngine]: {i} mycode={mycode}, oscode={oscode}");
err = true;
}
}