Don't double send the message on backwards support for commands.
This commit is contained in:
parent
7167bff981
commit
5241f917ce
@ -70,7 +70,8 @@ public class CommandHandler {
|
|||||||
args2.add(s);
|
args2.add(s);
|
||||||
args2.add(a0);
|
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));
|
sender.sendMessage(jailmanager.getPlugin().getJailIO().getLanguageString(LangString.UNKNOWNCOMMAND, commandLine));
|
||||||
|
Loading…
Reference in New Issue
Block a user