mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-07 04:53:05 +00:00
wftgeuhjor
This commit is contained in:
parent
bc8ff3cd7f
commit
a523cc313c
9 changed files with 58 additions and 35 deletions
|
@ -27,6 +27,7 @@ import java.util.UUID;
|
|||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import javax.net.ssl.HttpsURLConnection;
|
||||
import me.totalfreedom.totalfreedommod.TotalFreedomMod;
|
||||
import me.totalfreedom.totalfreedommod.config.ConfigEntry;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
@ -147,7 +148,10 @@ public class FUtil
|
|||
List<String> names = new ArrayList<>();
|
||||
for (Player player : Bukkit.getOnlinePlayers())
|
||||
{
|
||||
names.add(player.getName());
|
||||
if (!TotalFreedomMod.plugin().al.vanished.contains(player))
|
||||
{
|
||||
names.add(player.getName());
|
||||
}
|
||||
}
|
||||
return names;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue