Merge branch 'v5' into v6

This commit is contained in:
NotMyFault 2021-06-20 18:22:21 +02:00
commit 8eb8c24209
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
2 changed files with 4 additions and 1 deletions

View File

@ -162,6 +162,10 @@ public class MainCommand extends Command {
// Referenced commands // Referenced commands
instance.toggle = injector.getInstance(Toggle.class); instance.toggle = injector.getInstance(Toggle.class);
instance.help = new Help(instance); instance.help = new Help(instance);
if (!Settings.Enabled_Components.DISABLE_NASHORN_SCRIPT_ENGINE) {
new DebugExec();
}
} }
return instance; return instance;
} }

View File

@ -780,7 +780,6 @@ public class Settings extends Config {
); );
@Comment("Whether PlotSquared should hook into MvDWPlaceholderAPI or not") @Comment("Whether PlotSquared should hook into MvDWPlaceholderAPI or not")
public static boolean USE_MVDWAPI = true; public static boolean USE_MVDWAPI = true;
} }
} }