Getting the name of blocks / potion updates

Can you tidy up the indentation here?