<commit_before>package musician101.emergencywhitelist.util;

import musician101.emergencywhitelist.EmergencyWhitelist;
import musician101.emergencywhitelist.lib.Messages;
import musician101.emergencywhitelist.runnables.KickPlayers;

import org.bukkit.Bukkit;

/**
 * Runs when '/ewl toggle' is executed.
 * 
 * @author Musician101
 */
public class RunKickMethod 
{
	/**
	 * @param plugin Reference to the plugin's main class.
	 * @param enabled References the 'enabled' option in the config.
	 */
	public RunKickMethod(EmergencyWhitelist plugin, boolean enabled)
	{
		plugin.getLogger().info(Messages.getWhitelistEnabled(enabled));
		plugin.getLogger().info(Messages.getToggleMessage(enabled));
		if (enabled)
		{
			Bukkit.broadcastMessage(Messages.getWhitelistAnnounce(enabled));
			plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new KickPlayers(plugin), 100L);
		}
		else
			Bukkit.broadcastMessage(Messages.getWhitelistAnnounce(enabled));
	}
}<commit_msg>More comment removal.<commit_after>package musician101.emergencywhitelist.util;

import musician101.emergencywhitelist.EmergencyWhitelist;
import musician101.emergencywhitelist.lib.Messages;
import musician101.emergencywhitelist.runnables.KickPlayers;

import org.bukkit.Bukkit;

public class RunKickMethod 
{
	public RunKickMethod(EmergencyWhitelist plugin, boolean enabled)
	{
		plugin.getLogger().info(Messages.getWhitelistEnabled(enabled));
		plugin.getLogger().info(Messages.getToggleMessage(enabled));
		if (enabled)
		{
			Bukkit.broadcastMessage(Messages.getWhitelistAnnounce(enabled));
			plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new KickPlayers(plugin), 100L);
		}
		else
			Bukkit.broadcastMessage(Messages.getWhitelistAnnounce(enabled));
	}
}
{'fraction_non_alphanumeric': 0.10586226522481502, 'fraction_numerical': 0.018782014797951052, 'mean_word_length': 6.577586206896552, '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': '4041555', 'n_tokens_mistral': 620, 'n_tokens_neox': 534, 'n_words': 85}