From 46e36601cb3c54e6e441284aed7c0c5c35970a4c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 22 Oct 2019 13:04:01 +0100 Subject: remove some more useless NULL arguments --- .../CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/CoreModules/World/Objects') diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs index 18a16c2..04eacbc 100755 --- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs @@ -917,7 +917,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands m_scene.ForEachSOG(searchAction); if (sceneObjects.Count == 0) - m_console.Output("No objects with name {0} found in {1}", null, name, m_scene.RegionInfo.RegionName); + m_console.Output("No objects with name {0} found in {1}", name, m_scene.RegionInfo.RegionName); return sceneObjects; } @@ -952,7 +952,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector)) { - m_console.Output("Error: Start vector '{0}' does not have a valid format", null, rawConsoleStartVector); + m_console.Output("Error: Start vector '{0}' does not have a valid format", rawConsoleStartVector); endVector = Vector3.Zero; return false; @@ -962,7 +962,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands if (!ConsoleUtil.TryParseConsoleMaxVector(rawConsoleEndVector, out endVector)) { - m_console.Output("Error: End vector '{0}' does not have a valid format", null, rawConsoleEndVector); + m_console.Output("Error: End vector '{0}' does not have a valid format", rawConsoleEndVector); return false; } -- cgit v1.1