Fix command error in /wildcard.

This commit is contained in:
Wilee999 2014-01-31 10:05:40 -08:00
parent 60f71c9dfc
commit b8b8ed8608

View File

@ -13,6 +13,11 @@ public class Command_wildcard extends TFM_Command
@Override
public boolean run(CommandSender sender, Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
{
if (args.length == 0)
{
return false;
}
if (args[0].equals("wildcard"))
{
playerMsg("What the hell are you trying to do, you stupid idiot...", ChatColor.RED);