mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-04 06:28:49 +00:00
Adjust hook initialization logging
This commit is contained in:
1 parent
f77d9adf27
commit
7b07e45742
1 file changed
+5
-3
@@ -160,9 +160,11 @@ public class BukkitHuskHomes extends JavaPlugin implements HuskHomes {
|
|||||||
} else {
|
} else {
|
||||||
settings.economy = false;
|
settings.economy = false;
|
||||||
}
|
}
|
||||||
getLoggingAdapter().log(Level.INFO, "Registered " + pluginHooks.size() + " plugin hooks: " +
|
if (pluginHooks.size() > 0) {
|
||||||
pluginHooks.stream().map(PluginHook::getHookName)
|
getLoggingAdapter().log(Level.INFO, "Registered " + pluginHooks.size() + " plugin hooks: " +
|
||||||
.collect(Collectors.joining(", ")));
|
pluginHooks.stream().map(PluginHook::getHookName)
|
||||||
|
.collect(Collectors.joining(", ")));
|
||||||
|
}
|
||||||
|
|
||||||
// Register events
|
// Register events
|
||||||
getLoggingAdapter().log(Level.INFO, "Registering events...");
|
getLoggingAdapter().log(Level.INFO, "Registering events...");
|
||||||
|
|||||||
Reference in new issue
Block a user