mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Implement helper in server start
This commit is contained in:
parent
cefa6e8084
commit
49b412ff83
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user