Fix logic in playerHitByEntity