mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-30 21:07:42 +01:00
Pass option to filter unverified expansions when calling fetch
This commit is contained in:
parent
dd45bc16d0
commit
6eaad829cf
@ -79,7 +79,7 @@ public class ExpansionCloudCommands implements CommandExecutor {
|
|||||||
if (args[1].equalsIgnoreCase("refresh") || args[1].equalsIgnoreCase("update") || args[1].equalsIgnoreCase("fetch")) {
|
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!!");
|
msg(s, "&aRefresh task started. Use &f/papi ecloud list all &ain a few!!");
|
||||||
plugin.getExpansionCloud().clean();
|
plugin.getExpansionCloud().clean();
|
||||||
plugin.getExpansionCloud().fetch();
|
plugin.getExpansionCloud().fetch(plugin.getPlaceholderAPIConfig().cloudAllowUnverifiedExpansions());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user