Removed debug code

This commit is contained in:
Sollace 2019-03-10 00:02:03 +02:00
parent f58a0598fd
commit 6007afc978
5 changed files with 0 additions and 11 deletions

View file

@ -56,8 +56,6 @@ public class BlockChitin extends Block {
@Deprecated @Deprecated
@Override @Override
public float getPlayerRelativeBlockHardness(IBlockState state, EntityPlayer player, World worldIn, BlockPos pos) { public float getPlayerRelativeBlockHardness(IBlockState state, EntityPlayer player, World worldIn, BlockPos pos) {
setHardness(50);
float hardness = super.getPlayerRelativeBlockHardness(state, player, worldIn, pos); float hardness = super.getPlayerRelativeBlockHardness(state, player, worldIn, pos);
IPlayer iplayer = PlayerSpeciesList.instance().getPlayer(player); IPlayer iplayer = PlayerSpeciesList.instance().getPlayer(player);

View file

@ -33,11 +33,6 @@ public class BlockCloudDoor extends UDoor implements ICloudBlock {
return blockMapColor; return blockMapColor;
} }
@Override
public boolean isAir(IBlockState state, IBlockAccess world, BlockPos pos) {
return super.isAir(state, world, pos);
}
@Override @Override
public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) {
if (!getCanInteract(state, player)) { if (!getCanInteract(state, player)) {

View file

@ -63,7 +63,6 @@ public class BlockGlowingGem extends BlockTorch implements ICloudBlock {
); );
public BlockGlowingGem(String domain, String name) { public BlockGlowingGem(String domain, String name) {
super();
setTranslationKey(name); setTranslationKey(name);
setRegistryName(domain, name); setRegistryName(domain, name);

View file

@ -23,7 +23,6 @@ public class BlockSlimeLayer extends BlockSnow {
setRegistryName(domain, name); setRegistryName(domain, name);
setSoundType(SoundType.SLIME); setSoundType(SoundType.SLIME);
setCreativeTab(CreativeTabs.DECORATIONS); setCreativeTab(CreativeTabs.DECORATIONS);
} }

View file

@ -84,8 +84,6 @@ public class CraftingManager {
@Nullable @Nullable
public IRecipe findMatchingRecipe(InventoryCrafting craftMatrix, World worldIn) { public IRecipe findMatchingRecipe(InventoryCrafting craftMatrix, World worldIn) {
load();
for (IRecipe irecipe : getRecipes()) { for (IRecipe irecipe : getRecipes()) {
if (irecipe.matches(craftMatrix, worldIn)) { if (irecipe.matches(craftMatrix, worldIn)) {
return irecipe; return irecipe;