fixed server_port bug in server builder

This commit is contained in:
Phillip Tarrant 2020-08-27 18:36:18 -04:00
parent 119a606b93
commit 14f05f6946

View File

@ -202,7 +202,7 @@ class ServerJars:
# setup server.properties with the port # setup server.properties with the port
with open(os.path.join(server_dir, "server.properties"), "w") as f: with open(os.path.join(server_dir, "server.properties"), "w") as f:
f.write("server_port={}".format(port)) f.write("server-port={}".format(port))
f.close() f.close()
except Exception as e: except Exception as e: