mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +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
@ -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…
Reference in New Issue
Block a user