Dear,
Technically, the void is the one which gets the final hit on the player so the kill goes to the void so it says 'Player died'. But if you feel this is a bug that needs to be resolved then you can report it
here in the Bug Reports department with valid evidence in form of a video or screenshot.
Regards,
JaySN