Fixed a bug with Setup command

This commit is contained in:
Rsl1122 2017-10-05 22:31:38 +03:00
parent da21aa4efd
commit 9826373ae8

View File

@ -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)) { if (!Check.isTrue(args.length >= 1, Locale.get(Msg.CMD_FAIL_REQ_ONE_ARG).toString(), sender)) {
return true; 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!"); sender.sendMessage("§cWebServer is not enabled on this server! Make sure it enables on boot!");
return true; return true;
} }