mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-05 09:06:41 +00:00
broh
This commit is contained in:
@ -60,7 +60,7 @@ import org.json.simple.JSONObject;
|
||||
import org.json.simple.parser.JSONParser;
|
||||
import org.json.simple.parser.ParseException;
|
||||
|
||||
public class PlexUtils extends PlexBase
|
||||
public class PlexUtils implements PlexBase
|
||||
{
|
||||
private static final Random RANDOM;
|
||||
private static final List<String> regxList = new ArrayList<>()
|
||||
@ -446,7 +446,9 @@ public class PlexUtils extends PlexBase
|
||||
public static void broadcastToAdmins(Component component)
|
||||
{
|
||||
Bukkit.getOnlinePlayers().stream().filter(pl -> PlayerCache.getPlexPlayer(pl.getUniqueId()).isAdminActive()).forEach(pl ->
|
||||
Bukkit.broadcast(component));
|
||||
{
|
||||
pl.sendMessage(component);
|
||||
});
|
||||
}
|
||||
|
||||
public static Object simpleGET(String url)
|
||||
|
@ -27,7 +27,7 @@ import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.json.JSONObject;
|
||||
|
||||
public class UpdateChecker extends PlexBase
|
||||
public class UpdateChecker implements PlexBase
|
||||
{
|
||||
/*
|
||||
* -4 = Never checked for updates
|
||||
|
Reference in New Issue
Block a user