I made a lightsaber, and it's looking pretty good, but I have a few problems. When I render it out, it looks like this:
However, in the viewport rendered shading, it looks like this: 
How come the exact same scene can have different reflections? I would like the rendered image to look like it does in the viewport. How can I do this?