/bc in MPS is now protected by the filter
This commit is contained in:
Sam 2016-07-08 22:09:48 +01:00
parent 07b65ad1c9
commit 34565b2975

View File

@ -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);
}