<commit_before>package net.geforcemods.securitycraft.blocks;

import net.geforcemods.securitycraft.main.mod_SecurityCraft;
import net.geforcemods.securitycraft.tileentity.TileEntityOwnable;
import net.minecraft.block.Block;
import net.minecraft.block.BlockStairs;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.SoundType;
import net.minecraft.block.state.IBlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;

public class BlockReinforcedStairs extends BlockStairs implements ITileEntityProvider {

	public BlockReinforcedStairs(Block baseBlock, int meta) {
		super(meta != 0 ? baseBlock.getStateFromMeta(meta) : baseBlock.getDefaultState());
		this.useNeighborBrightness = true;
		
		if(baseBlock == mod_SecurityCraft.reinforcedStairsStone || baseBlock == mod_SecurityCraft.reinforcedStairsSandstone) {
			setSoundType(SoundType.STONE);
		} else { 
			setSoundType(SoundType.WOOD);
		}
	}
	
	@Override
	public void breakBlock(World par1World, BlockPos pos, IBlockState state){
        super.breakBlock(par1World, pos, state);
        par1World.removeTileEntity(pos);
    }
<commit_msg>Fixed stone slab/stairs breaking and placing sounds<commit_after>package net.geforcemods.securitycraft.blocks;

import net.geforcemods.securitycraft.main.mod_SecurityCraft;
import net.geforcemods.securitycraft.tileentity.TileEntityOwnable;
import net.minecraft.block.Block;
import net.minecraft.block.BlockStairs;
import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.SoundType;
import net.minecraft.block.state.IBlockState;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;

public class BlockReinforcedStairs extends BlockStairs implements ITileEntityProvider {

	public BlockReinforcedStairs(Block baseBlock, int meta) {
		super(meta != 0 ? baseBlock.getStateFromMeta(meta) : baseBlock.getDefaultState());
		this.useNeighborBrightness = true;
		
		if(baseBlock == mod_SecurityCraft.reinforcedStone || baseBlock == mod_SecurityCraft.reinforcedCobblestone || baseBlock == mod_SecurityCraft.reinforcedSandstone) {
			setSoundType(SoundType.STONE);
		} else { 
			setSoundType(SoundType.WOOD);
		}
	}
	
	@Override
	public void breakBlock(World par1World, BlockPos pos, IBlockState state){
        super.breakBlock(par1World, pos, state);
        par1World.removeTileEntity(pos);
    }

{'fraction_non_alphanumeric': 0.09326845093268452, 'fraction_numerical': 0.0032441200324412004, 'mean_word_length': 5.9886685552407934, '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': '5632317', 'n_tokens_mistral': 785, 'n_tokens_neox': 760, 'n_words': 128}