<commit_before>package com.themastergeneral.moglowstone.proxy;

import java.io.File;

import net.minecraft.item.Item;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

import com.themastergeneral.moglowstone.blocks.ModBlocks;
import com.themastergeneral.moglowstone.config.Config;
import com.themastergeneral.moglowstone.handler.OreDict;
import com.themastergeneral.moglowstone.items.ModItems;
import com.themastergeneral.moglowstone.world.ModWorldGen;
import com.themastergeneral.moglowstone.handler.FuelHandler;

public class CommonProxy {

	public static Configuration config;
    public void preInit(FMLPreInitializationEvent e) 
    {
    	File directory = e.getModConfigurationDirectory();
		config = new Configuration(new File(directory.getPath(), "CTD/MoGlowstone.cfg"));
		Config.readConfig();
    	ModBlocks.init();
    	ModItems.init();
    	GameRegistry.registerFuelHandler(new FuelHandler());
    	if (Config.disableGlowstoneGen == false)
    	{
    		GameRegistry.registerWorldGenerator(new ModWorldGen(), 0);
    	}
    }

    public void init(FMLInitializationEvent e) 
    {<commit_msg>Lower-cased config file name<commit_after>package com.themastergeneral.moglowstone.proxy;

import java.io.File;

import net.minecraft.item.Item;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.GameRegistry;

import com.themastergeneral.moglowstone.blocks.ModBlocks;
import com.themastergeneral.moglowstone.config.Config;
import com.themastergeneral.moglowstone.handler.OreDict;
import com.themastergeneral.moglowstone.items.ModItems;
import com.themastergeneral.moglowstone.world.ModWorldGen;
import com.themastergeneral.moglowstone.handler.FuelHandler;

public class CommonProxy {

	public static Configuration config;
    public void preInit(FMLPreInitializationEvent e) 
    {
    	File directory = e.getModConfigurationDirectory();
		config = new Configuration(new File(directory.getPath(), "ctd/moglowstone.cfg"));
		Config.readConfig();
    	ModBlocks.init();
    	ModItems.init();
    	GameRegistry.registerFuelHandler(new FuelHandler());
    	if (Config.disableGlowstoneGen == false)
    	{
    		GameRegistry.registerWorldGenerator(new ModWorldGen(), 0);
    	}
    }

    public void init(FMLInitializationEvent e) 
    {
{'fraction_non_alphanumeric': 0.09642470205850487, 'fraction_numerical': 0.0007222824124232575, 'mean_word_length': 5.517647058823529, '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': '2562304', 'n_tokens_mistral': 861, 'n_tokens_neox': 831, 'n_words': 127}