@Nonnull
        @Override
        public List<Player> players() {
            return this.bar.getPlayers().stream()
                    .map(Players::getNullable)
                    .filter(Objects::nonNull)
                    .collect(ImmutableCollectors.toList());
        }
Implementation of {@link BossBarFactory} using ViaVersion.
helper/src/main/java/me/lucko/helper/bossbar/ViaBossBarFactory.java