Merge branch 'master' of ssh://184.154.0.242:7999/min/Mineplex
This commit is contained in:
commit
514445557b
@ -650,13 +650,11 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
|||||||
event.setResult(PlayerLoginEvent.Result.ALLOWED);
|
event.setResult(PlayerLoginEvent.Result.ALLOWED);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (_clientManager.Get(event.getPlayer().getName()).GetRank()
|
else if (_clientManager.Get(event.getPlayer().getName()).GetRank().Has(event.getPlayer(), Rank.ULTRA, false)
|
||||||
.Has(event.getPlayer(), Rank.ULTRA, false)
|
|| _donationManager.Get(event.getPlayer().getName()).OwnsUnknownPackage(_serverConfig.ServerType + " ULTRA"))
|
||||||
|| _donationManager.Get(event.getPlayer().getName()).OwnsUnknownPackage(
|
|
||||||
_serverConfig.ServerType + " ULTRA"))
|
|
||||||
{
|
{
|
||||||
|
|
||||||
if (GetGame() != null && (GetGame().GetType() == GameType.UHC || GetGame().GetType() == GameType.Halloween || GetGame().GetType() == GameType.ChampionsDominate || GetGame().GetType() == GameType.ChampionsTDM || GetGame().GetType() == GameType.MineStrike))
|
if (GetGame() != null && (GetGame().GetType() == GameType.UHC || GetGame().GetType() == GameType.Halloween || GetGame().GetType() == GameType.Christmas || GetGame().GetType() == GameType.ChampionsDominate || GetGame().GetType() == GameType.ChampionsTDM || GetGame().GetType() == GameType.MineStrike))
|
||||||
{
|
{
|
||||||
event.disallow(PlayerLoginEvent.Result.KICK_OTHER, C.Bold + "Server has reached max capacity for gameplay purposes.");
|
event.disallow(PlayerLoginEvent.Result.KICK_OTHER, C.Bold + "Server has reached max capacity for gameplay purposes.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user