<commit_before>package com.github.Kory33.minecartchestfilter.core;

import java.util.ArrayList;

import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;

import com.github.Kory33.minecartchestfilter.listeners.EventInterceptor;
import com.github.Kory33.minecartchestfilter.listeners.FilteredStorageInteractEventInterceptor;
import com.github.Kory33.minecartchestfilter.util.CommandProcessorUtil;

public class MinecartChestFilter extends JavaPlugin {
    public static final String FILTERED_MINECART_METAKEY = "CartInventoryFilteringType";
    
    private ArrayList<Listener> eventInterceptors;
    
    @Override
    public void onEnable(){
        this.getLogger().info("Started initialization...");
        
        this.eventInterceptors = new ArrayList<Listener>();
        
        this.eventInterceptors.add(new EventInterceptor(this));
        this.eventInterceptors.add(new FilteredStorageInteractEventInterceptor(this));

        this.getLogger().info("Completed initialization.");
    }

    
    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if(command.getName().equalsIgnoreCase("spawnfilteredstorageminecart")){
            return CommandProcessorUtil.spawnFSMinecart(sender, command, label, args);
        }
        return true;
    };
    
    
    @Override
    public void onDisable(){
        for (Listener listener : eventInterceptors) {
            HandlerList.unregisterAll(listener);
        }
        
        this.getLogger().info("Unloaded/unregistered MinecartChestFilter successfully.");
    }
}<commit_msg>changed default return value of onCommand method<commit_after>package com.github.Kory33.minecartchestfilter.core;

import java.util.ArrayList;

import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;

import com.github.Kory33.minecartchestfilter.listeners.EventInterceptor;
import com.github.Kory33.minecartchestfilter.listeners.FilteredStorageInteractEventInterceptor;
import com.github.Kory33.minecartchestfilter.util.CommandProcessorUtil;

public class MinecartChestFilter extends JavaPlugin {
    public static final String FILTERED_MINECART_METAKEY = "CartInventoryFilteringType";
    
    private ArrayList<Listener> eventInterceptors;
    
    @Override
    public void onEnable(){
        this.getLogger().info("Started initialization...");
        
        this.eventInterceptors = new ArrayList<Listener>();
        
        this.eventInterceptors.add(new EventInterceptor(this));
        this.eventInterceptors.add(new FilteredStorageInteractEventInterceptor(this));

        this.getLogger().info("Completed initialization.");
    }

    
    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if(command.getName().equalsIgnoreCase("spawnfilteredstorageminecart")){
            return CommandProcessorUtil.spawnFSMinecart(sender, command, label, args);
        }
        
        sender.sendMessage("Command is not yet implemented.");
        return false;
    };
    
    
    @Override
    public void onDisable(){
        for (Listener listener : eventInterceptors) {
            HandlerList.unregisterAll(listener);
        }
        
        this.getLogger().info("Unloaded/unregistered MinecartChestFilter successfully.");
    }
}
{'fraction_non_alphanumeric': 0.0928611266034579, 'fraction_numerical': 0.004461795872838818, 'mean_word_length': 3.738441215323646, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1092701', 'n_tokens_mistral': 1003, 'n_tokens_neox': 963, 'n_words': 171}