<commit_before>package com.khorn.terraincontrol.bukkit;

import net.minecraft.server.WorldProvider;

/**
 * We extend this file to be able to set the sea level.
 * In minecraft 1.2.3 this is used in a few places such as spawning algorithms for villages.
 * The value seem to be hardcoded in CraftWorld and we are a bit unsure about if that matters.
 * At least it should be a good thing that we set the value here.
 */
public class TCWorldProvider extends WorldProvider
{
    protected int seaLevel = 64;
    
    @Override
    public int getSeaLevel()
    {
        return this.seaLevel;
    }
    
    public TCWorldProvider setSeaLevel(int value)
    {
        if (value < 1)
        {
            this.seaLevel = 1;
        }
        else if (value > 256)
        {
            this.seaLevel = 256;
        }
        else
        {
            this.seaLevel = value;
        }
        return this;
    }

    @Override
	public String getName()
	{
		return "Terrain Control";
	}
}<commit_msg>Fixing indentation<commit_after>package com.khorn.terraincontrol.bukkit;

import net.minecraft.server.WorldProvider;

/**
 * We extend this file to be able to set the sea level.
 * In minecraft 1.2.3 this is used in a few places such as spawning algorithms for villages.
 * The value seem to be hardcoded in CraftWorld and we are a bit unsure about if that matters.
 * At least it should be a good thing that we set the value here.
 */
public class TCWorldProvider extends WorldProvider
{
    protected int seaLevel = 64;
    
    @Override
    public int getSeaLevel()
    {
        return this.seaLevel;
    }
    
    public TCWorldProvider setSeaLevel(int value)
    {
        if (value < 1)
        {
            this.seaLevel = 1;
        }
        else if (value > 256)
        {
            this.seaLevel = 256;
        }
        else
        {
            this.seaLevel = value;
        }
        return this;
    }
    
    @Override
    public String getName()
    {
        return "Terrain Control";
    }
}
{'fraction_non_alphanumeric': 0.070506454816286, 'fraction_numerical': 0.012909632571996028, 'mean_word_length': 1.9416058394160585, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1692771', 'n_tokens_mistral': 616, 'n_tokens_neox': 574, 'n_words': 213}