diff --git a/src/main/java/me/clip/placeholderapi/expansion/manager/CloudExpansionManager.java b/src/main/java/me/clip/placeholderapi/expansion/manager/CloudExpansionManager.java index d60172c..50619dc 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/manager/CloudExpansionManager.java +++ b/src/main/java/me/clip/placeholderapi/expansion/manager/CloudExpansionManager.java @@ -72,6 +72,7 @@ public final class CloudExpansionManager clean(); } + @NotNull @Unmodifiable public Map getCloudExpansions() @@ -211,11 +212,13 @@ public final class CloudExpansionManager }); } + public boolean isDownloading(@NotNull final CloudExpansion expansion) { return await.containsKey(toIndexName(expansion)); } + @NotNull public CompletableFuture downloadExpansion(@NotNull final CloudExpansion expansion, @NotNull final CloudExpansion.Version version) {