mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-05 12:02:53 +00:00
Merge pull request #229 from Focusvity/patch-1
Fix Issue #228 - unvanishing doesn't show admins
This commit is contained in:
commit
62aa46f856
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue