Removed Beta ultra only checking in server NPc page.

This commit is contained in:
Jonathan Williams 2013-11-23 02:40:56 -08:00
parent b0bfa860c7
commit e04815f077

View File

@ -113,14 +113,6 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
}
else
{
if (getName().contains("Beta"))
{
if (DonationManager.Get(Player.getName()).OwnsUltraPackage())
lore.add(ChatColor.RESET + C.Line + "Click to join!");
else
lore.add(ChatColor.RESET + C.Line + "Only Ultras can play games in Beta!");
}
else
lore.add(ChatColor.RESET + C.Line + "Click to join!");
}
@ -200,12 +192,6 @@ public class ServerNpcPage extends ShopPageBase<ServerManager, ServerNpcShop> im
public void SelectServer(Player player, ServerInfo serverInfo)
{
if (getName().contains("Beta") && !(DonationManager.Get(Player.getName()).OwnsUltraPackage() || Client.GetRank().Has(Rank.ULTRA)))
{
PlayDenySound(player);
return;
}
int slots = Plugin.GetRequiredSlots(player, serverInfo.ServerType);
if (serverInfo.MaxPlayers - serverInfo.CurrentPlayers < slots && !(DonationManager.Get(Player.getName()).OwnsUnknownPackage(serverInfo.ServerType + " ULTRA") || Client.GetRank().Has(Rank.ULTRA)))