Revert Deleted Line

This commit is contained in:
Driftay 2020-02-26 06:51:41 -05:00
parent 5591048136
commit d6a274ddc5

View File

@ -125,6 +125,9 @@ public class CmdJoin extends FCommand {
} else { } else {
fplayer.setFaction(faction, false); fplayer.setFaction(faction, false);
} }
faction.deinvite(fplayer);
try { try {
context.fPlayer.setRole(faction.getDefaultRole()); context.fPlayer.setRole(faction.getDefaultRole());
FactionsPlugin.instance.logFactionEvent(faction, FLogType.INVITES, context.fPlayer.getName(), CC.Green + "joined", "the faction"); FactionsPlugin.instance.logFactionEvent(faction, FLogType.INVITES, context.fPlayer.getName(), CC.Green + "joined", "the faction");