fix statistics packet dumping code causing players to drop when they leave