PC-699
/bc in MPS is now protected by the filter
This commit is contained in:
parent
07b65ad1c9
commit
34565b2975
@ -426,7 +426,14 @@ public class GameHostManager implements Listener
|
||||
msg += event.getMessage().split(" ")[i] + " ";
|
||||
}
|
||||
msg = msg.trim();
|
||||
|
||||
|
||||
msg = Manager.GetChat().getFilteredMessage(event.getPlayer(), msg);
|
||||
|
||||
if (msg == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Bukkit.broadcastMessage(C.cDGreen + C.Bold + event.getPlayer().getName() + " " + C.cGreen + msg);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user