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