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();
|
configManager.setup();
|
||||||
getEventRegistry().register(PlayerDisconnectEvent.class, localExpansionManager::onQuit);
|
getEventRegistry().register(PlayerDisconnectEvent.class, localExpansionManager::onQuit);
|
||||||
|
|
||||||
if (configManager.config().cloudEnabled()) {
|
|
||||||
cloudExpansionManager.load();
|
|
||||||
}
|
|
||||||
|
|
||||||
new ServerLoadEventListener(this);
|
new ServerLoadEventListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void start() {
|
protected void start() {
|
||||||
getCommandRegistry().registerCommand(new PlaceholderCommandRouter(this));
|
getCommandRegistry().registerCommand(new PlaceholderCommandRouter(this));
|
||||||
|
|
||||||
|
if (configManager.config().cloudEnabled()) {
|
||||||
|
cloudExpansionManager.load();
|
||||||
|
}
|
||||||
|
|
||||||
super.start();
|
super.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user