Inconsistency and Ridiculous Bug Corrections (#189)

This commit is contained in:
Video
2020-03-16 18:58:44 -06:00
committed by GitHub
parent c94ce6b276
commit 48ee7b0e6d
24 changed files with 42 additions and 28 deletions

View File

@ -37,8 +37,8 @@ public class Command_op extends FreedomCommand
}
}
// if the player is not online
if (player == null)
// if the player is not online or is vanished
if (player == null || Command_vanish.VANISHED.contains(player) && !plugin.al.isAdmin(sender))
{
if (plugin.al.isAdmin(sender) || senderIsConsole)
{