It's just named differently, but the same method.
From what I can see you are saving the player to the block not the tileentity (otherwise new placer will replace old placers!), and
Since the placer can be null, this does not make sense, just check for placer instanceof PlayerEntity.