There are two ways (that I can see) to resolve this:
- make the "main" party a special case so that if a player turns red or yellow they leave the main party, even if they are the only member. We could also add a command
/join main - joins the party that new players would join.
- remove partyID field and related code.
I'll consult with some users to see if there is even any interest in the idea of a main/default party.