This doesn't occur on Switch, to the best of my knowledge, though I was playing in superflat (not sure if that makes any difference).
The bug doesn't occur when a player-spawned fang hits a pigman; it must be a seperate issue.
This doesn't occur on Switch, to the best of my knowledge, though I was playing in superflat (not sure if that makes any difference).