mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Fix /team invite, then /team join, then /team leave, then doing /team join would still make you rejoin team
This commit is contained in:
parent
58ed57bc6d
commit
0771ca1155
@ -140,6 +140,7 @@ namespace MCGalaxy.Commands.Fun {
|
||||
team.Members.Add(p.name);
|
||||
team.Action(p, "joined the team.");
|
||||
p.Game.Team = team;
|
||||
p.Game.TeamInvite = null;
|
||||
p.SetPrefix();
|
||||
Team.SaveList();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user