Removed excess if statement and fixed attack hitbox problem