Go to the BP_Hammer and create a new variable called BlockSwing as set it to a Boolean.

Next create a new custom event called ServerBlockSwing and add a new input called Block and set it to a Boolean.

Set the ServerBlockSwing event to Replicates to Run on Server and tick the Reliable option.

Add the highlighted nodes shown in the image below, location at the top of the image.