mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-04 13:54:35 +01:00
Release papi freedom
This commit is contained in:
parent
9fa2456526
commit
32dd420126
@ -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
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user