Alt Fix Join Limit

This commit is contained in:
Driftay 2020-04-04 09:31:45 -04:00
parent f271cef686
commit 44cac68a15

View File

@ -56,7 +56,7 @@ public class CmdJoin extends FCommand {
return;
}
if (Conf.factionMemberLimit > 0 && faction.getFPlayers().size() >= getFactionMemberLimit(faction)) {
if (!faction.altInvited(fplayer) && Conf.factionMemberLimit > 0 && faction.getFPlayers().size() >= getFactionMemberLimit(faction)) {
context.msg(TL.COMMAND_JOIN_ATLIMIT, faction.getTag(context.fPlayer), getFactionMemberLimit(faction), fplayer.describeTo(context.fPlayer, false));
return;
}