mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-11 15:57:31 +00:00
RoyCurtis: Fixed chiselled bookshelves dropping invalid books
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user