mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-05 10:20:23 +01:00
Fixed a bug with Setup command
This commit is contained in:
parent
da21aa4efd
commit
9826373ae8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user