CORE: Fixed a null crash in party.cpp.