From 49b412ff83c8c6062f6b87b364d225e757d51378 Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Tue, 14 Feb 2023 13:59:42 -0500 Subject: [PATCH] Implement helper in server start --- app/classes/shared/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/shared/server.py b/app/classes/shared/server.py index 8a6cd4cd..b3912ce7 100644 --- a/app/classes/shared/server.py +++ b/app/classes/shared/server.py @@ -445,7 +445,7 @@ class ServerInstance: ) except Exception as ex: # Checks for java on initial fail - if os.system("java -version") == 32512: + if not self.helper.detect_java(): if user_id: self.helper.websocket_helper.broadcast_user( user_id,