RoyCurtis: Fixed chiselled bookshelves dropping invalid books

This commit is contained in:
Cricket committed 2015-03-08 12:17:55 -04:00
1 parent 500773f51d
commit ea09ed332f
1 file changed
+7 -2
@@ -35,15 +35,20 @@ public class BlockCarvableBookshelf extends BlockCarvable {
}
@Override
public int quantityDropped(Random par1Random) {
public int quantityDropped(Random random) {
return 3;
}
@Override
public Item getItemDropped(int par1, Random par2Random, int par3) {
public Item getItemDropped(int ammount, Random random, int meta) {
return Items.book;
}
@Override
public int damageDropped(int damage){
return 0;
}
@Override
public float getEnchantPowerBonus(World world, int x, int y, int z) {
return 1;