<commit_before>package fr.aumgn.tobenamed.command;

import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;

import fr.aumgn.bukkit.command.Command;
import fr.aumgn.bukkit.command.CommandArgs;
import fr.aumgn.bukkit.command.Commands;
import fr.aumgn.tobenamed.TBN;
import fr.aumgn.tobenamed.stage.Stage;

public class GeneralCommands extends Commands {

    @Command(name = "stop-game", max = 0)
    public void stopGame(CommandSender sender, CommandArgs args) {
        Stage stage = TBN.getStage();
        TBN.nextStage(null);
        stage.getGame().sendMessage(ChatColor.RED + "La partie a été arreté.");
    }
}<commit_msg>Fix stop-game command<commit_after>package fr.aumgn.tobenamed.command;

import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;

import fr.aumgn.bukkit.command.Command;
import fr.aumgn.bukkit.command.CommandArgs;
import fr.aumgn.bukkit.command.Commands;
import fr.aumgn.tobenamed.TBN;
import fr.aumgn.tobenamed.stage.Stage;

public class GeneralCommands extends Commands {

    @Command(name = "stop-game", max = 0)
    public void stopGame(CommandSender sender, CommandArgs args) {
        Stage stage = TBN.getStage();
        TBN.forceStop();
        stage.getGame().sendMessage(ChatColor.RED + "La partie a été arreté.");
    }
}
{'fraction_non_alphanumeric': 0.11705426356589148, 'fraction_numerical': 0.0015503875968992248, 'mean_word_length': 4.205645161290323, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '416173', 'n_tokens_mistral': 445, 'n_tokens_neox': 441, 'n_words': 84}