From ee58ccb496153a547db45c790c63ce33b1cd7c88 Mon Sep 17 00:00:00 2001 From: Deathmax Date: Sun, 31 Jul 2011 21:48:18 +0800 Subject: [PATCH] Handle chat messages so that they don't display twice. --- TShockAPI/TShock.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 8881e43c..29ee20fa 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -496,7 +496,8 @@ namespace TShockAPI Tools.Broadcast("<" + tsplr.Name + "> " + text, tsplr.Group.R, tsplr.Group.G, tsplr.Group.B); - Log.Info(string.Format("{0} said: {1}", tsplr.Name, text)); + //Log.Info(string.Format("{0} said: {1}", tsplr.Name, text)); + e.Handled = true; } }