Fix accedental doubling of shift, Fixes saplings/flowers planting a space above where they should

This commit is contained in:
LexManos 2012-09-21 05:35:46 -07:00
parent 28d2460611
commit b06829e26a

View file

@ -19,7 +19,7 @@
public boolean canPlaceBlockAt(World par1World, int par2, int par3, int par4)
{
- return super.canPlaceBlockAt(par1World, par2, par3, par4) && this.canThisPlantGrowOnThisBlockID(par1World.getBlockId(par2, par3 - 1, par4));
+ return super.canPlaceBlockAt(par1World, par2, par3, par4) && canBlockStay(par1World, par2, par3 - 1, par4);
+ return super.canPlaceBlockAt(par1World, par2, par3, par4) && canBlockStay(par1World, par2, par3, par4);
}
/**