Fixed compile issues
This commit is contained in:
parent
4e29004d82
commit
a686a469a3
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue