mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 20:46:41 +00:00
revamp vanish
This commit is contained in:
@ -106,7 +106,7 @@ public class Command_potion extends FreedomCommand
|
||||
{
|
||||
target = getPlayer(args[4]);
|
||||
|
||||
if (target == null || plugin.al.vanished.contains(target) && !plugin.al.isAdmin(sender))
|
||||
if (target == null || plugin.al.isVanished(target.getName()) && !plugin.al.isAdmin(sender))
|
||||
{
|
||||
msg(FreedomCommand.PLAYER_NOT_FOUND, ChatColor.RED);
|
||||
return true;
|
||||
@ -244,5 +244,4 @@ public class Command_potion extends FreedomCommand
|
||||
}
|
||||
return types;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user