<commit_before>package com.forgeessentials.core.preloader.mixin.fml.common;

import java.util.ArrayList;
import java.util.concurrent.ConcurrentHashMap;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

import cpw.mods.fml.common.eventhandler.EventBus;
import cpw.mods.fml.common.eventhandler.IEventListener;
import cpw.mods.fml.common.eventhandler.ListenerList;

@Mixin(EventBus.class)
public class MixinEventBus extends EventBus
{

    @Shadow(remap = false)
    private ConcurrentHashMap<Object, ArrayList<IEventListener>> listeners;

    @Shadow(remap = false)
    private int busID;

    @Override
    public void unregister(Object object)
    {
        System.out.println("Called unregister");
        ArrayList<IEventListener> list = listeners.remove(object);
        if (list == null)
            return;
        for (IEventListener listener : list)
        {
            ListenerList.unregisterAll(busID, listener);
        }
    }

}<commit_msg>Fixed derp - left debug message in code<commit_after>package com.forgeessentials.core.preloader.mixin.fml.common;

import java.util.ArrayList;
import java.util.concurrent.ConcurrentHashMap;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

import cpw.mods.fml.common.eventhandler.EventBus;
import cpw.mods.fml.common.eventhandler.IEventListener;
import cpw.mods.fml.common.eventhandler.ListenerList;

@Mixin(EventBus.class)
public class MixinEventBus extends EventBus
{

    @Shadow(remap = false)
    private ConcurrentHashMap<Object, ArrayList<IEventListener>> listeners;

    @Shadow(remap = false)
    private int busID;

    @Override
    public void unregister(Object object)
    {
        ArrayList<IEventListener> list = listeners.remove(object);
        if (list == null)
            return;
        for (IEventListener listener : list)
        {
            ListenerList.unregisterAll(busID, listener);
        }
    }

}
{'fraction_non_alphanumeric': 0.09903011740684023, 'fraction_numerical': 0.0, 'mean_word_length': 3.611764705882353, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5632417', 'n_tokens_mistral': 603, 'n_tokens_neox': 596, 'n_words': 110}