From dd45bc16d0b0543a6a0d249f7007fb26c2e51edf Mon Sep 17 00:00:00 2001 From: extendedclip Date: Fri, 20 Apr 2018 22:23:03 -0400 Subject: [PATCH] Pass filtering unverified expansions to fetch --- .../java/me/clip/placeholderapi/PlaceholderAPIPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java index 76e600b..293d637 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java @@ -180,10 +180,10 @@ public class PlaceholderAPIPlugin extends JavaPlugin { public void enableCloud() { if (expansionCloud == null) { expansionCloud = new ExpansionCloudManager(this); - expansionCloud.fetch(); + expansionCloud.fetch(config.cloudAllowUnverifiedExpansions()); } else { expansionCloud.clean(); - expansionCloud.fetch(); + expansionCloud.fetch(config.cloudAllowUnverifiedExpansions()); } }