From 9746f187a3f7b109bf2f3cb605a3c48a8fd2d6f6 Mon Sep 17 00:00:00 2001 From: LapisMYT Date: Thu, 11 Jan 2024 11:55:35 +0300 Subject: [PATCH] Fixed .gitignore --- .gitignore | 4 +++- piemc/config.py | 4 ++-- piemc/server.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) 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'])