Fix Issue #228 - unvanishing doesn't show admins

This commit is contained in:
Nathan Curran
2020-07-17 12:02:22 +10:00
committed by GitHub
parent 30fd3ea6a1
commit c4124de781

View File

@ -53,6 +53,9 @@ public class Command_vanish extends FreedomCommand
if (plugin.al.isAdmin(player))
{
playerMsg(player, ChatColor.YELLOW + sender.getName() + " has unvanished and is now visible to everyone.");
}
if (!plugin.al.isAdmin(player)
{
player.showPlayer(plugin, playerSender);
}
}