Remove Citizens check config setting

This commit is contained in:
HexedHero 2022-06-07 21:43:29 +01:00
parent a9d4b999cf
commit a3b7e9eedf
2 changed files with 1 additions and 4 deletions

View File

@ -103,7 +103,7 @@ public final class CitizensCMD extends JavaPlugin {
audiences = BukkitAudiences.create(this);
final Audience console = audiences.console();
if (!hasCitizens() && settings.getProperty(Settings.CITIZENS_CHECK)) {
if (!hasCitizens()) {
console.sendMessage(TAG.append(LEGACY.deserialize("&cCitizens &7is needed for this plugin to work!")));
console.sendMessage(TAG.append(LEGACY.deserialize("&cCitizens.jar &7is not installed on the server!")));
Bukkit.getPluginManager().disablePlugin(this);

View File

@ -31,9 +31,6 @@ public final class Settings implements SettingsHolder {
@Comment({"", "Select cooldown display format, SHORT = 3m 3s | MEDIUM = 3 min 3 sec | FULL - 3 minutes 3 seconds"})
public static final Property<String> TIME_DISPLAY = PropertyInitializer.newProperty("cooldown-time-display", "MEDIUM");
@Comment({"", "Disables citizens check on startup"})
public static final Property<Boolean> CITIZENS_CHECK = PropertyInitializer.newProperty("citizens-check", true);
@Override
public void registerComments(final CommentsConfiguration conf) {
conf.setComment(