mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
only unregister provided expansions
This commit is contained in:
parent
6e34670bd8
commit
19de55c7c5
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user