Fixed incorrect recipe for slabs and stairs

This commit is contained in:
Emmanuel BENOîT 2016-07-12 22:43:15 +02:00
parent f44e8bd7b7
commit 9f49d862aa
2 changed files with 4 additions and 4 deletions

View file

@ -73,11 +73,11 @@ public class DStairs
@Override
public void registerRecipes( )
{
GameRegistry.addShapedRecipe( new ItemStack( this ) , //
GameRegistry.addShapedRecipe( new ItemStack( this , 4 ) , //
"B " , //
"BB " , //
"BBB" , //
'B' , new ItemStack( this.modelBlock , 4 , this.modelBlock.getMetaFromState( this.modelState ) ) );
'B' , new ItemStack( this.modelBlock , 1 , this.modelBlock.getMetaFromState( this.modelState ) ) );
}
}

View file

@ -73,8 +73,8 @@ public class DSlabParts
{
final Block block = this.HALF.modelBlock;
final IBlockState state = this.HALF.modelState;
GameRegistry.addShapedRecipe( new ItemStack( this.HALF ) , //
GameRegistry.addShapedRecipe( new ItemStack( this.HALF , 6 ) , //
"BBB" , //
'B' , new ItemStack( block , 6 , block.getMetaFromState( state ) ) );
'B' , new ItemStack( block , 1 , block.getMetaFromState( state ) ) );
}
}