Allow ETERNAL into the beta
This commit is contained in:
parent
605fcf90dd
commit
9450c29e3e
@ -55,7 +55,7 @@ public class BetaWhitelist extends MiniPlugin
|
|||||||
{
|
{
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
Rank rank = _clientManager.Get(player).GetRank(true);
|
Rank rank = _clientManager.Get(player).GetRank(true);
|
||||||
if ((rank != Rank.MAPDEV && rank != Rank.MAPLEAD && rank.has(Rank.TWITCH) // If this player is Twitch+ (and not a builder),
|
if ((rank != Rank.MAPDEV && rank != Rank.MAPLEAD && rank.has(Rank.ETERNAL) // If this player is Eternal+ (and not a builder),
|
||||||
|| _powerPlayClubRepository.getCachedData(player).isSubscribed()) // a PPC subscriber,
|
|| _powerPlayClubRepository.getCachedData(player).isSubscribed()) // a PPC subscriber,
|
||||||
|| EXTRA_PLAYERS.contains(player.getUniqueId())) // or explicitly whitelisted,
|
|| EXTRA_PLAYERS.contains(player.getUniqueId())) // or explicitly whitelisted,
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user