From 9826373ae88d83b7e690bb2de570cc01f46aa7e3 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 5 Oct 2017 22:31:38 +0300 Subject: [PATCH] Fixed a bug with Setup command --- .../plan/command/commands/manage/ManageSetupCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/command/commands/manage/ManageSetupCommand.java b/Plan/src/main/java/com/djrapitops/plan/command/commands/manage/ManageSetupCommand.java index 9a331e597..99ec41932 100644 --- a/Plan/src/main/java/com/djrapitops/plan/command/commands/manage/ManageSetupCommand.java +++ b/Plan/src/main/java/com/djrapitops/plan/command/commands/manage/ManageSetupCommand.java @@ -50,7 +50,7 @@ public class ManageSetupCommand extends SubCommand { if (!Check.isTrue(args.length >= 1, Locale.get(Msg.CMD_FAIL_REQ_ONE_ARG).toString(), sender)) { return true; } - if (plugin.getWebServer().isEnabled()) { + if (!plugin.getWebServer().isEnabled()) { sender.sendMessage("§cWebServer is not enabled on this server! Make sure it enables on boot!"); return true; }