<commit_before>package io.github.thatsmusic99.headsplus.util;

import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldguard.LocalPlayer;
import com.sk89q.worldguard.WorldGuard;
import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
import com.sk89q.worldguard.protection.ApplicableRegionSet;
import com.sk89q.worldguard.protection.flags.SetFlag;
import com.sk89q.worldguard.protection.flags.StateFlag;
import com.sk89q.worldguard.protection.flags.StringFlag;
import com.sk89q.worldguard.protection.flags.registry.FlagRegistry;
import com.sk89q.worldguard.protection.managers.RegionManager;
import com.sk89q.worldguard.protection.regions.RegionContainer;
import com.sk89q.worldguard.protection.regions.RegionQuery;
import org.bukkit.Location;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;

import java.util.Set;

public class FlagHandler {

    //
    public StateFlag HEAD_DROP = new StateFlag("head-drop", true);
    public StateFlag HEAD_CRAFT = new StateFlag("head-craft", true);
    public StateFlag ALLOW_MASKS = new StateFlag("allow-mask-use", true);
    public SetFlag<String> HEAD_DENIED_IDS = new SetFlag<>("head_denied_ids", new StringFlag("head_denied_id"));
    public SetFlag<String> HEAD_ALLOWED_IDS = new SetFlag<>("head_allowed_ids", new StringFlag("head_allowed_id"));<commit_msg>Fixed invalid name error with WG<commit_after>package io.github.thatsmusic99.headsplus.util;

import com.sk89q.worldedit.bukkit.BukkitAdapter;
import com.sk89q.worldguard.LocalPlayer;
import com.sk89q.worldguard.WorldGuard;
import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
import com.sk89q.worldguard.protection.ApplicableRegionSet;
import com.sk89q.worldguard.protection.flags.SetFlag;
import com.sk89q.worldguard.protection.flags.StateFlag;
import com.sk89q.worldguard.protection.flags.StringFlag;
import com.sk89q.worldguard.protection.flags.registry.FlagRegistry;
import com.sk89q.worldguard.protection.managers.RegionManager;
import com.sk89q.worldguard.protection.regions.RegionContainer;
import com.sk89q.worldguard.protection.regions.RegionQuery;
import org.bukkit.Location;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;

import java.util.Set;

public class FlagHandler {

    //
    public StateFlag HEAD_DROP = new StateFlag("head-drop", true);
    public StateFlag HEAD_CRAFT = new StateFlag("head-craft", true);
    public StateFlag ALLOW_MASKS = new StateFlag("allow-mask-use", true);
    public SetFlag<String> HEAD_DENIED_IDS = new SetFlag<>("head-denied-ids", new StringFlag("head-denied-id"));
    public SetFlag<String> HEAD_ALLOWED_IDS = new SetFlag<>("head-allowed-ids", new StringFlag("head-allowed-id"));
{'fraction_non_alphanumeric': 0.11156563778356267, 'fraction_numerical': 0.019338043882484196, 'mean_word_length': 6.309782608695652, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2562019', 'n_tokens_mistral': 933, 'n_tokens_neox': 860, 'n_words': 142}