Fixed segfault from playercharacter destructor