From ca8758cbb1d3258381665716831862450145ce6d Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Tue, 4 Aug 2020 17:31:17 -0500 Subject: [PATCH] oup --- .../me/totalfreedom/totalfreedommod/command/Command_deop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java index d9c500de..3704a1d3 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java @@ -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);