Added a server check for if a player is in a dungeon

fixes #81