Skip to content

Commit 59a3b97

Browse files
committed
Fix inversed visible/invisible argument
1 parent 32f8215 commit 59a3b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/tk/maciekmm/antiaura/AntiAura.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
224224
boolean visCmd;
225225
if (args.length >= 2) {
226226
if (args[1].equalsIgnoreCase("visible") || args[1].equalsIgnoreCase("invisible")) {
227-
visCmd = args[1].equalsIgnoreCase("visible");
227+
visCmd = !args[1].equalsIgnoreCase("visible");
228228
} else {
229229
visCmd = visOrInvisible;
230230
}

0 commit comments

Comments
 (0)