mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 13:15:28 +01:00
Fixed bug where AllLoaded method was not being called on BentoBox reload
This commit is contained in:
parent
e4a8d705f1
commit
9c1a239501
@ -61,6 +61,9 @@ public class BentoBoxReloadCommand extends ConfirmableCommand {
|
|||||||
// Register new default gamemode placeholders
|
// Register new default gamemode placeholders
|
||||||
getPlugin().getAddonsManager().getGameModeAddons().forEach(getPlugin().getPlaceholdersManager()::registerDefaultPlaceholders);
|
getPlugin().getAddonsManager().getGameModeAddons().forEach(getPlugin().getPlaceholdersManager()::registerDefaultPlaceholders);
|
||||||
|
|
||||||
|
// Call the all Loaded method for addons
|
||||||
|
getPlugin().getAddonsManager().allLoaded();
|
||||||
|
|
||||||
// Fire ready event
|
// Fire ready event
|
||||||
Bukkit.getPluginManager().callEvent(new BentoBoxReadyEvent());
|
Bukkit.getPluginManager().callEvent(new BentoBoxReadyEvent());
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user