mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-10 05:39:11 +01:00
Fix Check
This commit is contained in:
parent
8bbd62a3ed
commit
7ccd40d0f7
@ -82,7 +82,7 @@ public class ExtensionManager {
|
|||||||
} else
|
} else
|
||||||
version = extensionDescriptionJson.get("version").getAsString();
|
version = extensionDescriptionJson.get("version").getAsString();
|
||||||
List<String> authors;
|
List<String> authors;
|
||||||
if (!extensionDescriptionJson.has("")) {
|
if (!extensionDescriptionJson.has("authors")) {
|
||||||
authors = new ArrayList<>();
|
authors = new ArrayList<>();
|
||||||
} else
|
} else
|
||||||
authors = Arrays.asList(new Gson().fromJson(extensionDescriptionJson.get("authors"), String[].class));
|
authors = Arrays.asList(new Gson().fromJson(extensionDescriptionJson.get("authors"), String[].class));
|
||||||
|
Loading…
Reference in New Issue
Block a user