Merge pull request #229 from Focusvity/patch-1

Fix Issue #228 - unvanishing doesn't show admins
This commit is contained in:
super 2020-07-16 22:54:44 -04:00 committed by GitHub
commit 62aa46f856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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