mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
add a test workflow for dotnet
This commit is contained in:
@@ -943,7 +943,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(@"LSL float expected but {o is not null ? o.GetType().Name : ""null"")} given");
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user