Pass filtering unverified expansions to fetch

This commit is contained in:
extendedclip 2018-04-20 22:23:03 -04:00
parent 7900ee71e0
commit dd45bc16d0

View File

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