Don't double send the message on backwards support for commands.

This commit is contained in:
graywolf336 2014-04-27 00:29:08 -05:00
parent 7167bff981
commit 5241f917ce

View File

@ -70,7 +70,8 @@ public class CommandHandler {
args2.add(s);
args2.add(a0);
jailmanager.getPlugin().onCommand(sender, null, j, args2.toArray(new String[args2.size()]));
if(jailmanager.getPlugin().onCommand(sender, null, j, args2.toArray(new String[args2.size()])))
return;
}
sender.sendMessage(jailmanager.getPlugin().getJailIO().getLanguageString(LangString.UNKNOWNCOMMAND, commandLine));