Fix Bedrock for linux

This commit is contained in:
Andrew
2022-02-26 12:12:02 -05:00
parent 733b5c9a2c
commit f3d5f4f454
2 changed files with 1 additions and 2 deletions

View File

@ -172,7 +172,6 @@ def ping_bedrock(ip, port):
i = 0 i = 0
j = 0 j = 0
while True: while True:
print("in first while")
try: try:
k = sock.recvfrom(1024) k = sock.recvfrom(1024)
except: except:

View File

@ -433,7 +433,7 @@ class Controller:
if helper.is_os_windows(): if helper.is_os_windows():
server_command = f'"{full_jar_path}"' server_command = f'"{full_jar_path}"'
else: else:
server_command = f'LD_LIBRARY_PATH=. .{full_jar_path}' server_command = f'.{server_exe}'
logger.debug('command: ' + server_command) logger.debug('command: ' + server_command)
server_log_file = "N/A" server_log_file = "N/A"
server_stop = "stop" server_stop = "stop"