blob: 84057bae5c0dd1004838ba043af9ff8b81721670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package net.ess3.commands;
import static net.ess3.I18n._;
import net.ess3.utils.FormatUtil;
import org.bukkit.command.CommandSender;
public class Commandbroadcast extends EssentialsCommand
{
@Override
public void run(final CommandSender sender, final String commandLabel, final String[] args) throws Exception
{
if (args.length < 1)
{
throw new NotEnoughArgumentsException();
}
ess.broadcastMessage(null, _("[Broadcast] {0}", FormatUtil.replaceFormat(getFinalArg(args, 0))));
}
}
|