From a42de5af9bb91f0bd596357d6c5ad27993cac1fe Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Thu, 20 Jan 2022 12:17:55 -0600 Subject: [PATCH] Updated load and start scripts directories to reflect lack of scripts directory. --- load_plugin.py | 2 +- start_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/load_plugin.py b/load_plugin.py index eef51e9..d140397 100644 --- a/load_plugin.py +++ b/load_plugin.py @@ -3,7 +3,7 @@ import xml.etree.ElementTree as ET import shutil import gen -if (os.getcwd().endswith("scripts/")): +if (os.getcwd().endswith("SpigotPluginBaseTools/")): os.chdir("../") pomxml = ET.parse(gen.find_pomxml()) diff --git a/start_server.py b/start_server.py index bf84b06..6343400 100644 --- a/start_server.py +++ b/start_server.py @@ -6,7 +6,7 @@ MAX_RAM="2048M" JVM_DEBUG_PORT = 25577 -if (os.getcwd().endswith("scripts/")): +if (os.getcwd().endswith("SpigotPluginBaseTools/")): os.chdir("../") os.chdir(gen.DEV_SERVER_PATH)