mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix Bedrock for linux
This commit is contained in:
@ -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:
|
||||||
|
@ -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"
|
||||||
|
Reference in New Issue
Block a user