Shop work day

I was pounding a ball joint knuckle with a small steel sledge, in my shorts. A fragment of the hammer the size of a rice grain remains in my shin. It could have gone somewhere more, well, tender. Would long pants have slowed or blocked the fragment?
At least I had eye protection. Brass sledge next time.