mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-12 13:53:54 +00:00
Admins are now known as staff
To other developers: If you find places where staff are refered to as only admins pls fix it for me.
This commit is contained in:
@ -63,7 +63,7 @@ public class FSync
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
plugin.cm.adminChat(sender, message);
|
||||
plugin.cm.staffChat(sender, message);
|
||||
}
|
||||
|
||||
}.runTask(plugin);
|
||||
|
@ -146,7 +146,7 @@ public class FUtil
|
||||
List<String> names = new ArrayList<>();
|
||||
for (Player player : Bukkit.getOnlinePlayers())
|
||||
{
|
||||
if (!TotalFreedomMod.plugin().al.isVanished(player))
|
||||
if (!TotalFreedomMod.plugin().sl.isVanished(player))
|
||||
{
|
||||
names.add(player.getName());
|
||||
}
|
||||
@ -314,9 +314,9 @@ public class FUtil
|
||||
player.setFlying(flying);
|
||||
}
|
||||
|
||||
public static void adminAction(String adminName, String action, boolean isRed)
|
||||
public static void staffAction(String staffMemberName, String action, boolean isRed)
|
||||
{
|
||||
FUtil.bcastMsg(adminName + " - " + action, (isRed ? ChatColor.RED : ChatColor.AQUA));
|
||||
FUtil.bcastMsg(staffMemberName + " - " + action, (isRed ? ChatColor.RED : ChatColor.AQUA));
|
||||
}
|
||||
|
||||
public static String formatLocation(Location location)
|
||||
|
Reference in New Issue
Block a user