Fixed broken code, swords still don't work