diff --git a/CHANGELOG.md b/CHANGELOG.md index 975fa01e..b5ecd424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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

diff --git a/app/classes/minecraft/serverjars.py b/app/classes/minecraft/serverjars.py index b70a8c40..faa12a7d 100644 --- a/app/classes/minecraft/serverjars.py +++ b/app/classes/minecraft/serverjars.py @@ -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):