Improved our code for checking whether an entity in contact with a door should be teleported. Now the check works better, works for Minecarts, and is more readable. It also ignores particle effect entities.