From fd95abdf4201e3cc2ce6b4acedb8d0565ee21a5d Mon Sep 17 00:00:00 2001 From: Andrew Date: Tue, 6 Jun 2023 20:44:59 -0400 Subject: [PATCH] Remove bedrock servers in serverjars options --- app/classes/minecraft/serverjars.py | 3 +++ 1 file changed, 3 insertions(+) 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):