diff --git a/.gitignore b/.gitignore index 10c2e17..f99200b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ piemc/__pycache__/ uid.pie piemc_test.py log/ +pieuid.dat +piemc/config.py # Byte-compiled / optimized / DLL files __pycache__/ @@ -165,4 +167,4 @@ cython_debug/ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. -#.idea/ \ No newline at end of file +#.idea/ diff --git a/piemc/config.py b/piemc/config.py index 080bf37..3a98e0b 100644 --- a/piemc/config.py +++ b/piemc/config.py @@ -9,5 +9,5 @@ # ONLY FOR DEVELOPERS # Set the desired log level in uppercase (e.g., "INFO", "DEBUG", "WARNING", "ERROR", "CRITICAL") -LOG_LEVEL = "DEBUG" -DEV_MODE = True +LOG_LEVEL = "INFO" +DEV_MODE = False diff --git a/piemc/server.py b/piemc/server.py index 94eb151..3e030b2 100644 --- a/piemc/server.py +++ b/piemc/server.py @@ -122,7 +122,7 @@ def stop(self): self.logger.info(self.lang['STOPPING_WAIT']) self.running = False self.bedrock_server.stop() - for thread in threads: + for thread in self.threads: thread.join() self.logger.info(self.lang['STOP'])