Remove clean method calls

This commit is contained in:
extendedclip 2019-05-04 20:13:04 -04:00
parent c0f6cf225f
commit 41390d8ef4

View File

@ -145,7 +145,6 @@ public class PlaceholderAPIPlugin extends JavaPlugin {
public void onDisable() {
disableCloud();
PlaceholderAPI.unregisterAll();
expansionManager.clean();
expansionManager = null;
Bukkit.getScheduler().cancelTasks(this);
serverVersion = null;
@ -154,7 +153,6 @@ public class PlaceholderAPIPlugin extends JavaPlugin {
public void reloadConf(CommandSender s) {
boolean cloudEnabled = this.expansionCloud != null;
expansionManager.clean();
PlaceholderAPI.unregisterAllProvidedExpansions();
reloadConfig();
setupOptions();