mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
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:
commit
d6198dba11
@ -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>
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user