From 3e28d3928553351f54cb90ac1b806596256d2231 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Sun, 20 Jun 2021 18:28:13 +0200 Subject: [PATCH] We don't need "no-nashorn" config option in v6 --- .../main/java/com/plotsquared/core/command/MainCommand.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/command/MainCommand.java b/Core/src/main/java/com/plotsquared/core/command/MainCommand.java index 6cefbfb60..57df9f710 100644 --- a/Core/src/main/java/com/plotsquared/core/command/MainCommand.java +++ b/Core/src/main/java/com/plotsquared/core/command/MainCommand.java @@ -162,10 +162,6 @@ public class MainCommand extends Command { // Referenced commands instance.toggle = injector.getInstance(Toggle.class); instance.help = new Help(instance); - - if (!Settings.Enabled_Components.DISABLE_NASHORN_SCRIPT_ENGINE) { - new DebugExec(); - } } return instance; }