Merge branch 'tweak/serverjars-bedrock' into 'dev'

Remove bedrock servers in serverjars options

See merge request crafty-controller/crafty-4!595
This commit is contained in:
Iain Powrie 2023-06-18 13:21:07 +00:00
commit d6198dba11
2 changed files with 4 additions and 1 deletions

View File

@ -10,7 +10,7 @@ TBD
### Refactor
- Optimize player management page ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/593))
### Tweaks
TBD
- Remove bedrock servers in serverjars options ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/595))
### Lang
TBD
<br><br>

View File

@ -153,6 +153,9 @@ class ServerJars:
def _get_server_type_list(self):
url = "/api/fetchTypes/"
response = self._get_api_result(url)
if "bedrock" in response.keys():
# remove pocketmine from options
del response["bedrock"]
return response
def download_jar(self, jar, server, version, path, server_id):