mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Goodbye, spotty?
This commit is contained in:
1 parent
6767a92f38
commit
4a4466dfc0
4 files changed
+30
-23
No files matched your search
@@ -18,6 +18,10 @@
|
||||
|
||||
package net.h31ix.anticheat.util;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
|
||||
@@ -60,19 +64,19 @@ public class Language
|
||||
kickBroadcast = file.getString("kick.kick_broadcast");
|
||||
}
|
||||
|
||||
public String[] getMediumAlert()
|
||||
public List<String> getMediumAlert()
|
||||
{
|
||||
return medAlert;
|
||||
return new ArrayList<String>(Arrays.asList(medAlert));
|
||||
}
|
||||
|
||||
public String[] getHighAlert()
|
||||
public List<String> getHighAlert()
|
||||
{
|
||||
return highAlert;
|
||||
return new ArrayList<String>(Arrays.asList(highAlert));
|
||||
}
|
||||
|
||||
public String[] getWarning()
|
||||
public List<String> getWarning()
|
||||
{
|
||||
return warning;
|
||||
return new ArrayList<String>(Arrays.asList(warning));
|
||||
}
|
||||
|
||||
public String getBanReason()
|
||||
|
||||
@@ -35,7 +35,7 @@ public final class Utilities
|
||||
private static final List<Material> INTERACTABLE = new ArrayList<Material>();
|
||||
private static final HashSet<Byte> NOTSOLID = new HashSet<Byte>();
|
||||
|
||||
public static void alert(String[] message)
|
||||
public static void alert(List<String> message)
|
||||
{
|
||||
for (Player player : Bukkit.getOnlinePlayers())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user