There is no violence, because the pinata is not alive.

There is no more violence in hitting a nail with a hammer.