From 8b223228ce84de350fc43ce67392b8ecad88bddc Mon Sep 17 00:00:00 2001 From: LoJoSho Date: Sun, 5 Feb 2023 10:40:17 -0600 Subject: [PATCH] Or statement should be And --- .../com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java index 3645ea61..bc1c67a9 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java @@ -73,7 +73,7 @@ public class CosmeticCommand implements CommandExecutor { switch (firstArgs) { case ("reload") -> { - if (!sender.hasPermission("HMCCosmetics.cmd.reload") || !sender.isOp()) { + if (!sender.hasPermission("HMCCosmetics.cmd.reload") && !sender.isOp()) { if (!silent) MessagesUtil.sendMessage(sender, "no-permission"); return true; }