Livingwood makes leaves live

This commit is contained in:
Jeremy Diamond committed 2014-12-19 07:05:53 -08:00
1 parent 53270f665b
commit a900760382
1 file changed
+9
@@ -102,5 +102,14 @@ public class BlockLivingwood extends BlockMod implements ILexiconable {
int meta = world.getBlockMetadata(x, y, z);
return meta == 0 ? LexiconData.pureDaisy : LexiconData.decorativeBlocks;
}
@Override
public boolean canSustainLeaves(IBlockAccess world, int x, int y, int z)
{
if(world.getBlockMetadata(x, y, z) == 0)
return true;
else
return false;
}
}