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() { public void onDisable() {
disableCloud(); disableCloud();
PlaceholderAPI.unregisterAll(); PlaceholderAPI.unregisterAll();
expansionManager.clean();
expansionManager = null; expansionManager = null;
Bukkit.getScheduler().cancelTasks(this); Bukkit.getScheduler().cancelTasks(this);
serverVersion = null; serverVersion = null;
@ -154,7 +153,6 @@ 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();
PlaceholderAPI.unregisterAllProvidedExpansions(); PlaceholderAPI.unregisterAllProvidedExpansions();
reloadConfig(); reloadConfig();
setupOptions(); setupOptions();