Under the assumption that you don't make money from UO (which he is making, so screw him)... emulator its self is legal and if someone releases your code without permission, I would sue him even without NDA.
You can chose wisely as you want, but when the team becomes bigger and people are...