Don't you get sleepy when you have a class with that teacher?
Doesn't that teacher make you sleepy when you have a class with him?
ーDon't you get sleepy when you have a class with that teacher?
「あの先生の授業を受けると眠くならない?」
to get sleepy で「眠くなる」
to have a class with で「…の授業を受ける」
ーDoesn't that teacher make you sleepy when you have a class with him?
「あの先生のクラスを受けると、あなたを眠くさせませんか?」=「あの先生の授業は眠くなるよね?」
to make you sleepy で「あなたを眠くさせる」
ご参考まで!