Corrected parameters for setBlock()