fix command
This commit is contained in:
parent
b5b1d500c2
commit
36d3f7a076
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ public class SetScoreCommand implements BasicCommand {
|
||||||
Team team = MC13DTL.board.getTeam(index);
|
Team team = MC13DTL.board.getTeam(index);
|
||||||
MC13DTL.board.setScore(team, score);
|
MC13DTL.board.setScore(team, score);
|
||||||
} else {
|
} else {
|
||||||
commandSourceStack.getSender().sendMessage("usage: /group-add <player> <index>");
|
commandSourceStack.getSender().sendMessage("usage: /set-score <TEAM> <SCORE>");
|
||||||
}
|
}
|
||||||
} catch (NumberFormatException ex) {
|
} catch (NumberFormatException ex) {
|
||||||
commandSourceStack.getSender().sendMessage("usage: /group-add <player> <NUMBER>");
|
commandSourceStack.getSender().sendMessage("usage: /set-score <TEAM> <SCORE>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue