Fixed SwingRenderer

It was rendering only when attacking another player