fix town portal teleport and generalize the teleport function
Player dying doesn't disconnect him from the server anymore; Only chests are a blocking entity.