diff --git a/src/main/java/biomesoplenty/common/blocks/BlockBOPColorizedSapling.java b/src/main/java/biomesoplenty/common/blocks/BlockBOPColorizedSapling.java index 24198fed8..c796448ef 100644 --- a/src/main/java/biomesoplenty/common/blocks/BlockBOPColorizedSapling.java +++ b/src/main/java/biomesoplenty/common/blocks/BlockBOPColorizedSapling.java @@ -72,7 +72,7 @@ public class BlockBOPColorizedSapling extends BlockSapling protected void checkAndDropBlock(World world, int x, int y, int z) { int meta = world.getBlockMetadata(x, y, z); - if (!this.canBlockStay(world, x, y, z, meta)) + if (!this.isValidPosition(world, x, y, z, meta)) { this.dropBlockAsItem(world, x, y, z, meta, 0); world.setBlockToAir(x, y, z); diff --git a/src/main/java/biomesoplenty/common/items/ItemJarFilled.java b/src/main/java/biomesoplenty/common/items/ItemJarFilled.java index 6d211d9c9..8e0a23787 100644 --- a/src/main/java/biomesoplenty/common/items/ItemJarFilled.java +++ b/src/main/java/biomesoplenty/common/items/ItemJarFilled.java @@ -126,7 +126,7 @@ public class ItemJarFilled extends Item } else { - entityPlayer.setCurrentItemOrArmor(0, new ItemStack(BOPCItems.jarEmpty, 1, 0); + entityPlayer.setCurrentItemOrArmor(0, new ItemStack(BOPCItems.jarEmpty, 1, 0)); } }