Fix the tests failing and also fix the jail command not doing anything.

This commit is contained in:
graywolf336
2014-02-11 20:44:19 -06:00
parent 58bc007b3e
commit 48a7435fbe
5 changed files with 36 additions and 7 deletions

View File

@ -118,7 +118,7 @@ public class JailMain extends JavaPlugin {
*/
public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
if(command.getName().equalsIgnoreCase("jail")) {
jh.handleCommand(jm, sender, args);
jh.parseCommand(jm, sender, args);
}else {
cmdHand.handleCommand(jm, sender, command.getName().toLowerCase(), args);
}