mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix unhandled serverjars api error on server creation
This commit is contained in:
parent
0a26797496
commit
69f915616b
@ -156,6 +156,9 @@ class ServerHandler(BaseHandler):
|
||||
page_data["js_server_types"] = json.dumps(
|
||||
self.controller.server_jars.get_serverjar_data()
|
||||
)
|
||||
if page_data["server_types"] is None:
|
||||
page_data["server_types"] = []
|
||||
page_data["js_server_types"] = []
|
||||
template = "server/wizard.html"
|
||||
|
||||
if page == "bedrock_step1":
|
||||
|
Loading…
Reference in New Issue
Block a user