Release papi freedom

This commit is contained in:
libraryaddict 2024-08-13 02:24:23 +12:00
parent 9fa2456526
commit 32dd420126
2 changed files with 2 additions and 14 deletions

View File

@ -448,12 +448,8 @@ public class LibsDisguises extends JavaPlugin {
return;
}
if (LibsPremium.isPremium()) {
new DisguisePlaceholders().register();
getLogger().info("PlaceholderAPI support enabled");
} else {
getLogger().info("PlaceholderAPI support not enabled, requires Lib's Disguises premium");
}
new DisguisePlaceholders().register();
getLogger().info("PlaceholderAPI support enabled");
}
@NotNull

View File

@ -15,14 +15,6 @@ public class DisguisePlaceholders extends PlaceholderExpansion {
private final HashMap<String, DPlaceholder> placeholders = new HashMap<>();
public DisguisePlaceholders() {
if (!LibsPremium.isPremium()) {
return;
}
create();
}
private void create() {
add(new PlaceholderDisguiseType());
add(new PlaceholderDisguiseName());
add(new PlaceholderDisguiseHeight());