To calculate experience we must have both PC's and NPC's.
Solved a bug when we have no PC's for the XP calculation.(Division By Zero Error).