Removed Beta ultra only checking in server NPc page.
This commit is contained in:
parent
b0bfa860c7
commit
e04815f077
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user