Skip to content

Commit 5aa973f

Browse files
committed
endコマンド実装
1 parent 48d4707 commit 5aa973f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/com/github/elic0de/hungergames/command/HungerCommand.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,9 @@ public class HungerCommand extends BaseCommand {
1717
private void start(Player player) {
1818
game.startGame(player);
1919
}
20+
21+
@Subcommand("end")
22+
private void end(Player player) {
23+
game.endGame();
24+
}
2025
}

0 commit comments

Comments
 (0)