Pass option to filter unverified expansions when calling fetch

This commit is contained in:
extendedclip 2018-04-20 22:56:06 -04:00
parent dd45bc16d0
commit 6eaad829cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}