mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-02-05 11:57:14 +01:00
move expansion load to start to hopefully fix cube's non-load issue
This commit is contained in:
@@ -33,16 +33,17 @@ public class PlaceholderAPIPlugin extends JavaPlugin {
|
||||
configManager.setup();
|
||||
getEventRegistry().register(PlayerDisconnectEvent.class, localExpansionManager::onQuit);
|
||||
|
||||
if (configManager.config().cloudEnabled()) {
|
||||
cloudExpansionManager.load();
|
||||
}
|
||||
|
||||
new ServerLoadEventListener(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void start() {
|
||||
getCommandRegistry().registerCommand(new PlaceholderCommandRouter(this));
|
||||
|
||||
if (configManager.config().cloudEnabled()) {
|
||||
cloudExpansionManager.load();
|
||||
}
|
||||
|
||||
super.start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user