From 0771ca1155ca44f43eb0b93f92ee1818cd7e5c94 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Wed, 3 Jan 2018 09:02:57 +1100 Subject: [PATCH] Fix /team invite, then /team join, then /team leave, then doing /team join would still make you rejoin team --- MCGalaxy/Commands/Fun/CmdTeam.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MCGalaxy/Commands/Fun/CmdTeam.cs b/MCGalaxy/Commands/Fun/CmdTeam.cs index 114b84b77..9e5e41f70 100644 --- a/MCGalaxy/Commands/Fun/CmdTeam.cs +++ b/MCGalaxy/Commands/Fun/CmdTeam.cs @@ -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(); }