Actuall register placeholders

This commit is contained in:
BradBot_1 2023-10-08 00:13:18 +01:00
parent f1ff20705d
commit c6beaeef97

View file

@ -32,7 +32,11 @@ public final class PlaceHolderApiSupport extends PlaceholderExpansion {
@Internal
public PlaceHolderApiSupport(final @NotNull JavaPlugin plugin) {
this.plugin = plugin;
plugin.getLogger().info("Placeholder detected adding support!");
if (this.register()) {
plugin.getLogger().info("Placeholder support added");
} else {
plugin.getLogger().warning("Failed to add support for placeholder");
}
}
@Override