It seems that the magma blocks hurt the player from the sides of said block when they (the player) are pushed by water currents
Put the summary of the bug you're having here
What I expected to happen was...:
Describe what you thought should happen here
What actually happened was...:
Describe what happened here
Steps to Reproduce:
1. Put a step by step guide on how to trigger the bug here
2. ...
3. ...