We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 251eda0 commit 976fb6eCopy full SHA for 976fb6e
src/main/kotlin/com/mairwunnx/projectessentials/core/impl/commands/ConfigureEssentialsCommand.kt
@@ -128,6 +128,6 @@ object ConfigureEssentialsCommand : CommandBase(
128
}
129
130
private fun validateArguments(setting: String, value: String) =
131
- generalConfiguration.take().keys.filter { it as String == setting }.count() > 1 &&
+ generalConfiguration.take().keys.filter { it as String == setting }.count() > 0 &&
132
value.isNotBlank() && !Regex("[=|:@$^*]").containsMatchIn(value)
133
0 commit comments