mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-06 20:42:57 +00:00
bruh
This commit is contained in:
parent
2254f1225d
commit
d635e2c3d1
1 changed files with 3 additions and 1 deletions
|
@ -59,6 +59,8 @@ public class Command_vanish extends FreedomCommand
|
|||
FLog.info(playerSender.getName() + " is no longer vanished.");
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
if (plugin.al.isAdmin(player))
|
||||
playerMsg(player, ChatColor.RED + sender.getName() + " has unvanished and is now visible to everyone." );
|
||||
player.showPlayer(plugin, playerSender);
|
||||
}
|
||||
plugin.esb.setVanished(playerSender.getName(), false);
|
||||
|
@ -78,7 +80,7 @@ public class Command_vanish extends FreedomCommand
|
|||
{
|
||||
{
|
||||
if (plugin.al.isAdmin(player))
|
||||
playerMsg(player, ChatColor.YELLOW + sender.getName() + " has vanished and is now only visible to admins." );
|
||||
playerMsg(player, ChatColor.RED + sender.getName() + " has vanished and is now only visible to admins." );
|
||||
if (!plugin.al.isAdmin(player))
|
||||
player.hidePlayer(plugin, playerSender);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue