Fixed ultra join in arcade manager.
This commit is contained in:
parent
e723075298
commit
c5385ee7dc
@ -402,8 +402,6 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
return GetServerConfig().MaxPlayers;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void HubClock(Player player)
|
||||
{
|
||||
player.getInventory().setItem(8, ItemStackFactory.Instance.CreateStack(Material.WATCH, (byte)0, 1, (short)0, C.cGreen + "Return to Hub",
|
||||
@ -416,7 +414,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
// Reserved Slot Check
|
||||
if (Bukkit.getOnlinePlayers().length >= Bukkit.getServer().getMaxPlayers())
|
||||
{
|
||||
if (_clientManager.Get(event.getPlayer().getName()).GetRank().Has(event.getPlayer(), Rank.HELPER, false) || _donationManager.Get(event.getPlayer().getName()).OwnsUnknownPackage(_serverConfig.ServerType + " ULTRA"))
|
||||
if (_clientManager.Get(event.getPlayer().getName()).GetRank().Has(event.getPlayer(), Rank.ULTRA, false) || _donationManager.Get(event.getPlayer().getName()).OwnsUnknownPackage(_serverConfig.ServerType + " ULTRA"))
|
||||
{
|
||||
event.allow();
|
||||
event.setResult(PlayerLoginEvent.Result.ALLOWED);
|
||||
|
Loading…
Reference in New Issue
Block a user