mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
okay robin complain about my color taste...
This commit is contained in:
parent
d635e2c3d1
commit
894feaf1dc
@ -60,7 +60,7 @@ public class Command_vanish extends FreedomCommand
|
|||||||
for (Player player : server.getOnlinePlayers())
|
for (Player player : server.getOnlinePlayers())
|
||||||
{
|
{
|
||||||
if (plugin.al.isAdmin(player))
|
if (plugin.al.isAdmin(player))
|
||||||
playerMsg(player, ChatColor.RED + sender.getName() + " has unvanished and is now visible to everyone." );
|
playerMsg(player, ChatColor.YELLOW + sender.getName() + " has unvanished and is now visible to everyone." );
|
||||||
player.showPlayer(plugin, playerSender);
|
player.showPlayer(plugin, playerSender);
|
||||||
}
|
}
|
||||||
plugin.esb.setVanished(playerSender.getName(), false);
|
plugin.esb.setVanished(playerSender.getName(), false);
|
||||||
@ -80,7 +80,7 @@ public class Command_vanish extends FreedomCommand
|
|||||||
{
|
{
|
||||||
{
|
{
|
||||||
if (plugin.al.isAdmin(player))
|
if (plugin.al.isAdmin(player))
|
||||||
playerMsg(player, ChatColor.RED + sender.getName() + " has vanished and is now only visible to admins." );
|
playerMsg(player, ChatColor.YELLOW + sender.getName() + " has vanished and is now only visible to admins." );
|
||||||
if (!plugin.al.isAdmin(player))
|
if (!plugin.al.isAdmin(player))
|
||||||
player.hidePlayer(plugin, playerSender);
|
player.hidePlayer(plugin, playerSender);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user