auto register

This commit is contained in:
Amazed 2020-05-27 15:46:33 +02:00
parent fff7d0a865
commit 5007fc4383

View File

@ -10,7 +10,7 @@ class Server:
def __init__(self, **kwargs):
self.listen_ip = kwargs.get("ip", "0.0.0.0")
self.listen_port = kwargs.get("port", 19711)
self.register_with_ms = kwargs.get("register", False)
self.register_with_ms = kwargs.get("register", True)
async def on_connection_received(self, ip, port):
version = 1.497