mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Changes regarding review by Andre
Signed-off-by: Jacob Bordas <methalicity@gmail.com>
This commit is contained in:
parent
7c404db56b
commit
2c13acfd30
@ -6,9 +6,7 @@ import org.bukkit.event.HandlerList;
|
|||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This event is ran when all expansions are loaded.
|
* This event is called when all expansions are loaded (when reloading config, on plugin start and on server load).
|
||||||
* This is done when reloading config, on plugin start and on server load.
|
|
||||||
* @author jacobbordas (@ignissak)
|
|
||||||
*/
|
*/
|
||||||
public class ExpansionsLoadedEvent extends Event {
|
public class ExpansionsLoadedEvent extends Event {
|
||||||
|
|
||||||
|
@ -322,8 +322,7 @@ public final class LocalExpansionManager implements Listener {
|
|||||||
registered == 0 ? "&6No expansions were registered!"
|
registered == 0 ? "&6No expansions were registered!"
|
||||||
: registered + "&a placeholder hooks successfully registered!");
|
: registered + "&a placeholder hooks successfully registered!");
|
||||||
|
|
||||||
final ExpansionsLoadedEvent event = new ExpansionsLoadedEvent();
|
Bukkit.getPluginManager().callEvent(new ExpansionsLoadedEvent());
|
||||||
Bukkit.getPluginManager().callEvent(event);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user