This commit is contained in:
Telesphoreo 2020-08-04 17:31:17 -05:00
parent 81df3103b6
commit ca8758cbb1

View File

@ -36,7 +36,7 @@ public class Command_deop extends FreedomCommand
if (player.getName().toLowerCase().contains(targetName) || player.getDisplayName().toLowerCase().contains(targetName)
|| player.getName().contains(targetName) || player.getDisplayName().contains(targetName))
{
if (player.isOp() && plugin.al.isVanished(player))
if (player.isOp() && !plugin.al.isVanished(player))
{
matchedPlayerNames.add(player.getName());
player.setOp(false);