Fixed Golden Oak Leaves not dropping saplings. This was called out by a now-closed PR.

This commit is contained in:
bconlon 2020-06-22 18:39:02 -07:00
parent c82c68ffa5
commit 8b257fcadb

View file

@ -119,7 +119,7 @@ public class BlockAetherLeaves extends BlockLeaves {
@Override
public Item getItemDropped(int meta, Random random, int fortune) {
return this == BlocksAether.skyroot_leaves ? Item.getItemFromBlock(BlocksAether.skyroot_sapling) : this == BlocksAether.golden_oak_leaves ? Item.getItemFromBlock(BlocksAether.golden_oak_leaves) : null;
return this == BlocksAether.skyroot_leaves ? Item.getItemFromBlock(BlocksAether.skyroot_sapling) : this == BlocksAether.golden_oak_leaves ? Item.getItemFromBlock(BlocksAether.golden_oak_sapling) : null;
}
@Override