Remove join any perm
This commit is contained in:
@ -38,7 +38,6 @@ public enum Perm
|
||||
INVITE_ADD,
|
||||
INVITE_REMOVE,
|
||||
JOIN,
|
||||
JOIN_ANY,
|
||||
JOIN_OTHERS,
|
||||
KICK,
|
||||
LEAVE,
|
||||
|
@ -98,7 +98,7 @@ public class CmdFactionsJoin extends FactionsCommand
|
||||
return;
|
||||
}
|
||||
|
||||
if( ! (faction.getFlag(MFlag.getFlagOpen()) || faction.isInvited(mplayer) || msender.isUsingAdminMode() || Perm.JOIN_ANY.has(sender, false)))
|
||||
if( ! (faction.getFlag(MFlag.getFlagOpen()) || faction.isInvited(mplayer) || msender.isUsingAdminMode()))
|
||||
{
|
||||
msg("<i>This faction requires invitation.");
|
||||
if (samePlayer)
|
||||
|
Reference in New Issue
Block a user