mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 12:36:41 +00:00
permission system
This commit is contained in:
@ -62,7 +62,7 @@ public class Command_potion extends FreedomCommand
|
||||
{
|
||||
target = getPlayer(args[1]);
|
||||
|
||||
if (target == null || Command_vanish.VANISHED.contains(target) && !plugin.al.isAdmin(sender))
|
||||
if (target == null || plugin.al.vanished.contains(target) && !plugin.al.isAdmin(sender))
|
||||
{
|
||||
msg(FreedomCommand.PLAYER_NOT_FOUND, ChatColor.RED);
|
||||
return true;
|
||||
@ -105,7 +105,7 @@ public class Command_potion extends FreedomCommand
|
||||
{
|
||||
target = getPlayer(args[4]);
|
||||
|
||||
if (target == null || Command_vanish.VANISHED.contains(target) && !plugin.al.isAdmin(sender))
|
||||
if (target == null || plugin.al.vanished.contains(target) && !plugin.al.isAdmin(sender))
|
||||
{
|
||||
msg(FreedomCommand.PLAYER_NOT_FOUND, ChatColor.RED);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user