mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-30 21:07:42 +01:00
Remove clean method calls
This commit is contained in:
parent
c0f6cf225f
commit
41390d8ef4
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user