From 6eaad829cf3f7776ed41f25943dd5a56cf787ce0 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Fri, 20 Apr 2018 22:56:06 -0400 Subject: [PATCH] Pass option to filter unverified expansions when calling fetch --- .../me/clip/placeholderapi/commands/ExpansionCloudCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java b/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java index ba666c5..5156c00 100644 --- a/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java +++ b/src/main/java/me/clip/placeholderapi/commands/ExpansionCloudCommands.java @@ -79,7 +79,7 @@ public class ExpansionCloudCommands implements CommandExecutor { if (args[1].equalsIgnoreCase("refresh") || args[1].equalsIgnoreCase("update") || args[1].equalsIgnoreCase("fetch")) { msg(s, "&aRefresh task started. Use &f/papi ecloud list all &ain a few!!"); plugin.getExpansionCloud().clean(); - plugin.getExpansionCloud().fetch(); + plugin.getExpansionCloud().fetch(plugin.getPlaceholderAPIConfig().cloudAllowUnverifiedExpansions()); return true; }