Handle chat messages so that they don't display twice.
This commit is contained in:
parent
247d96e1c3
commit
ee58ccb496
1 changed files with 2 additions and 1 deletions
|
|
@ -496,7 +496,8 @@ namespace TShockAPI
|
||||||
Tools.Broadcast("<" + tsplr.Name + "> " + text,
|
Tools.Broadcast("<" + tsplr.Name + "> " + text,
|
||||||
tsplr.Group.R, tsplr.Group.G,
|
tsplr.Group.R, tsplr.Group.G,
|
||||||
tsplr.Group.B);
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue