From 54e9868449e8219da92a4430039c6dae7af299df Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 25 Aug 2021 23:00:20 +1000 Subject: Actually use ChatTypeEnum.DebugChannel instead of hard coding it's value. --- OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 668bb1f..eb00d3b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs @@ -947,7 +947,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance { ScenePresence sp = Engine.World.GetScenePresence(Part.OwnerID); if (sp != null && !sp.IsNPC) - Engine.World.SimChatToAgent(Part.OwnerID, Utils.StringToBytes(text), 0x7FFFFFFF, Part.AbsolutePosition, + Engine.World.SimChatToAgent(Part.OwnerID, Utils.StringToBytes(text), (int) ChatTypeEnum.DebugChannel, Part.AbsolutePosition, Part.Name, Part.UUID, false); } else -- cgit v1.1