Yup, it was a joke, at his expense.
I think he likes you, but not how his friends have described it. Your best defense shouldn't be against him, but against his friends.
Why dont you walk over and talk to him ? If his friends show up, you can tell them to f*** off, and you and Eric can...