Add builders to the beta whitelist
This commit is contained in:
parent
d2c9173943
commit
336777f89a
@ -55,8 +55,8 @@ public class BetaWhitelist extends MiniPlugin
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
Rank rank = _clientManager.Get(player).GetRank(true);
|
||||
if ((rank != Rank.MAPDEV && rank != Rank.MAPPER && rank != Rank.MAPLEAD && rank.has(Rank.TITAN) // If this player is Titan+ (and not a builder),
|
||||
|| _powerPlayClubRepository.getCachedData(player).isSubscribed()) // a PPC subscriber,
|
||||
if (rank.has(Rank.TITAN) // If this player is Titan+
|
||||
|| _powerPlayClubRepository.getCachedData(player).isSubscribed() // a PPC subscriber,
|
||||
|| EXTRA_PLAYERS.contains(player.getUniqueId())) // or explicitly whitelisted,
|
||||
{
|
||||
return; // allow them in
|
||||
|
Loading…
Reference in New Issue
Block a user