mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-13 20:58:35 +00:00
Merge branch 'master' of https://github.com/StevenLawson/TotalFreedomMod
This commit is contained in:
@ -68,19 +68,16 @@ public class TFM_Util
|
||||
TFM_Util.bcastMsg(message, null);
|
||||
}
|
||||
|
||||
//JeromSar
|
||||
public static void playerMsg(CommandSender sender, String message, ChatColor color)
|
||||
{
|
||||
sender.sendMessage(color + message);
|
||||
}
|
||||
|
||||
//JeromSar
|
||||
public static void playerMsg(CommandSender sender, String message)
|
||||
{
|
||||
TFM_Util.playerMsg(sender, message, ChatColor.GRAY);
|
||||
}
|
||||
|
||||
//JeromSar
|
||||
public static void adminAction(String adminName, String action, boolean isRed)
|
||||
{
|
||||
TFM_Util.bcastMsg(adminName + " - " + action, (isRed ? ChatColor.RED : ChatColor.AQUA));
|
||||
@ -545,7 +542,6 @@ public class TFM_Util
|
||||
return TFM_SuperadminList.isSuperadminImpostor(user);
|
||||
}
|
||||
|
||||
//JeromSar
|
||||
public static String getRank(CommandSender sender)
|
||||
{
|
||||
if (TFM_SuperadminList.isSuperadminImpostor(sender))
|
||||
@ -571,11 +567,11 @@ public class TFM_Util
|
||||
|
||||
if (admin_entry.isSeniorAdmin())
|
||||
{
|
||||
return "a " + ChatColor.GOLD + "senior admin" + ChatColor.AQUA + ".";
|
||||
return "a " + ChatColor.LIGHT_PURPLE + "Senior Admin" + ChatColor.AQUA + ".";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "an " + ChatColor.RED + "admin" + ChatColor.AQUA + ".";
|
||||
return "a " + ChatColor.GOLD + "Super Admin" + ChatColor.AQUA + ".";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user