mirror of
https://github.com/DerTyp7/docker_minecraft_server_auto_starter.git
synced 2025-10-29 12:42:09 +01:00
Fix placeholder server IP handling
This commit is contained in:
@@ -68,6 +68,9 @@ class RequestHandler(threading.Thread):
|
||||
print('Container is starting. Using starting placeholder IP')
|
||||
ip = os.environ.get('PLACEHOLDER_SERVER_STARTING_IP')
|
||||
|
||||
if not ip:
|
||||
print('No placeholder server IP found')
|
||||
return
|
||||
server_socket.connect(
|
||||
(ip, 25565))
|
||||
server_socket.sendall(request)
|
||||
|
||||
Reference in New Issue
Block a user