mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-10-03 10:33:29 -04:00
Fix being able to use /team to spam (X was muted) messages
This commit is contained in:
parent
3dd0d22f18
commit
35f4a6d29a
@ -35,6 +35,8 @@ namespace MCGalaxy.Games {
|
||||
|
||||
public void Message(Player source, string message) {
|
||||
message = "&9- to team - λNICK: &f" + message;
|
||||
if (!source.CheckCanSpeak("send teamchat")) return;
|
||||
|
||||
Chat.MessageChat(ChatScope.All, source, message, this,
|
||||
(pl, arg) => pl.Game.Team == arg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user