Apparently only hats are broken. In the code above, I was checking for balls instead of axes. I corrected the code, and axes are still working fine.
Apparently only hats are broken. In the code above, I was checking for balls instead of axes. I corrected the code, and axes are still working fine.