mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-06 05:17:05 +02:00
Pass option to filter unverified expansions when calling fetch
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user