From 19de55c7c5b4c0c6f92a8c38d2906c70d15aaf56 Mon Sep 17 00:00:00 2001 From: extendedclip Date: Sat, 24 Mar 2018 11:48:31 -0400 Subject: [PATCH] only unregister provided expansions --- src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java b/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java index b19eb22..5c5cd1b 100644 --- a/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java +++ b/src/main/java/me/clip/placeholderapi/PlaceholderAPIPlugin.java @@ -106,7 +106,7 @@ public class PlaceholderAPIPlugin extends JavaPlugin { public void reloadConf(CommandSender s) { boolean cloudEnabled = this.expansionCloud != null; expansionManager.clean(); - PlaceholderAPI.unregisterAllExpansions(); + PlaceholderAPI.unregisterAllProvidedExpansions(); reloadConfig(); setupOptions(); expansionManager.registerAllExpansions();