Fix typo that errors out when importing a server

This commit is contained in:
luukas 2021-03-01 19:18:56 +02:00
parent c6555b53e4
commit a25ad9295d

View File

@ -226,7 +226,7 @@ class Controller:
@staticmethod @staticmethod
def verify_jar_server( server_path: str, server_jar: str): def verify_jar_server( server_path: str, server_jar: str):
path_check = helper.check_path_exits(server_path) path_check = helper.check_path_exists(server_path)
jar_check = helper.check_file_exists(os.path.join(server_path, server_jar)) jar_check = helper.check_file_exists(os.path.join(server_path, server_jar))
if not path_check or not jar_check: if not path_check or not jar_check:
return False return False