mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
fixed server_port bug in server builder
This commit is contained in:
parent
119a606b93
commit
14f05f6946
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user