From 0fd17c08ae642fac17b24dfad06c61cfe5739483 Mon Sep 17 00:00:00 2001 From: Melanie Date: Tue, 20 Aug 2019 23:28:59 +0100 Subject: Massive console refactor. Greatly simplify interface. --- .../OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs (limited to 'OpenSim/Region/OptionalModules/Avatar/SitStand') diff --git a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs old mode 100644 new mode 100755 index 1b5ee04..1dd5b0a --- a/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/SitStand/SitStandCommandsModule.cs @@ -142,8 +142,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand if (sitPart != null) { - MainConsole.Instance.OutputFormat( + MainConsole.Instance.Output( "Sitting {0} on {1} {2} in {3}", + null, sp.Name, sitPart.ParentGroup.Name, sitPart.ParentGroup.UUID, m_scene.Name); sp.HandleAgentRequestSit(sp.ControllingClient, sp.UUID, sitPart.UUID, Vector3.Zero); @@ -151,8 +152,9 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand } else { - MainConsole.Instance.OutputFormat( + MainConsole.Instance.Output( "Could not find any unoccupied set seat on which to sit {0} in {1}. Aborting", + null, sp.Name, m_scene.Name); break; @@ -177,7 +179,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand { if (sp.SitGround || sp.IsSatOnObject) { - MainConsole.Instance.OutputFormat("Standing {0} in {1}", sp.Name, m_scene.Name); + MainConsole.Instance.Output("Standing {0} in {1}", null, sp.Name, m_scene.Name); sp.StandUp(); } } -- cgit v1.1