forked from Upstream/CitizensCMD
Remove Citizens check config setting
This commit is contained in:
parent
a9d4b999cf
commit
a3b7e9eedf
@ -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);
|
||||
|
||||
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user