The Torch God appears to be an entity that makes sure Players use the right torches in the right biomes.