only unregister provided expansions

This commit is contained in:
extendedclip 2018-03-24 11:48:31 -04:00
parent 6e34670bd8
commit 19de55c7c5

View File

@ -106,7 +106,7 @@ public class PlaceholderAPIPlugin extends JavaPlugin {
public void reloadConf(CommandSender s) { public void reloadConf(CommandSender s) {
boolean cloudEnabled = this.expansionCloud != null; boolean cloudEnabled = this.expansionCloud != null;
expansionManager.clean(); expansionManager.clean();
PlaceholderAPI.unregisterAllExpansions(); PlaceholderAPI.unregisterAllProvidedExpansions();
reloadConfig(); reloadConfig();
setupOptions(); setupOptions();
expansionManager.registerAllExpansions(); expansionManager.registerAllExpansions();