50 final int size = packet.getSize() - 2;
52 if (effect < 0 || effect >=
ChatEffect.values.length || color < 0 || color >=
ChatColor.values.length || size <= 0) {
62 if (player.punishment.isMuted()) {
63 player.send(
new SendMessage(
"You are currently muted and can not talk!"));
68 player.getEvents().widget(player,
new ChatMessageEvent(effect, color, size, bytes));