Added serverdownload to thread.

Removed exit command if server jar doesn't exist. This was causing exit.txt to constantly try to stop crafty after a jar download in the thread.
This commit is contained in:
Andrew
2021-08-21 14:25:39 -04:00
parent d709c6bd60
commit c8759ac872
2 changed files with 5 additions and 1 deletions

View File

@ -149,7 +149,6 @@ class Server:
if not helper.check_file_exists(full_path):
logger.critical("Server executable path: {} does not seem to exist".format(full_path))
console.critical("Server executable path: {} does not seem to exist".format(full_path))
helper.do_exit()
if not helper.check_path_exists(self.server_path):
logger.critical("Server path: {} does not seem to exits".format(self.server_path))