diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdJoin.java b/src/main/java/com/massivecraft/factions/cmd/CmdJoin.java index 8764bb85..9a2d38c5 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdJoin.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdJoin.java @@ -125,6 +125,9 @@ public class CmdJoin extends FCommand { } else { fplayer.setFaction(faction, false); } + + faction.deinvite(fplayer); + try { context.fPlayer.setRole(faction.getDefaultRole()); FactionsPlugin.instance.logFactionEvent(faction, FLogType.INVITES, context.fPlayer.getName(), CC.Green + "joined", "the faction");