fix command

This commit is contained in:
Xander 2024-09-15 21:45:40 +02:00
parent b5b1d500c2
commit 36d3f7a076
No known key found for this signature in database
GPG key ID: 79979C7BA303E003

View file

@ -19,10 +19,10 @@ public class SetScoreCommand implements BasicCommand {
Team team = MC13DTL.board.getTeam(index);
MC13DTL.board.setScore(team, score);
} else {
commandSourceStack.getSender().sendMessage("usage: /group-add <player> <index>");
commandSourceStack.getSender().sendMessage("usage: /set-score <TEAM> <SCORE>");
}
} catch (NumberFormatException ex) {
commandSourceStack.getSender().sendMessage("usage: /group-add <player> <NUMBER>");
commandSourceStack.getSender().sendMessage("usage: /set-score <TEAM> <SCORE>");
}
}