mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
cosmetics
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user