Merge branch 'master' of ssh://184.154.0.242:7999/min/mineplex
This commit is contained in:
commit
d79794c6d3
@ -84,6 +84,19 @@ public class ServerCommand extends CommandBase<Portal>
|
|||||||
else
|
else
|
||||||
deniedAccess = true;
|
deniedAccess = true;
|
||||||
}
|
}
|
||||||
|
else if (servUp.contains("CLANS-"))
|
||||||
|
{
|
||||||
|
if (playerRank.has(Rank.MODERATOR))
|
||||||
|
{
|
||||||
|
Plugin.sendPlayerToServer(player, args[0]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
UtilPlayer.message(player,
|
||||||
|
F.main(Plugin.getName(), C.cRed + "You must join clans through the hub! Join " + C.cGold + "ClansHub-1"
|
||||||
|
+ C.cRed + "!"));
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Plugin.sendPlayerToServer(player, args[0]);
|
Plugin.sendPlayerToServer(player, args[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user