Fix #99

Fixes the NULL entity error I posted in #99.

Please update the workshop when you have a moment, the issue is fairly common.
Merge pull request #100 from MuteTM/patch-1

Fix #99 Thanks Mute.