Fix crash without factions mod installed