Fixes some minor issues
Fixes some repositories using http instead of https Fixes formatting for tables
This commit is contained in:
@ -85,7 +85,7 @@ public final class TypeValidationHelper {
|
||||
* @return <p>True if the value is a non-empty string</p>
|
||||
*/
|
||||
private static boolean isNonEmptyString(Object value, CommandSender sender) {
|
||||
boolean isString = value instanceof String string && !string.strip().isEmpty();
|
||||
boolean isString = value instanceof String string && !string.isBlank();
|
||||
if (!isString && sender != null) {
|
||||
BlacksmithPlugin.getStringFormatter().displayErrorMessage(sender,
|
||||
BlacksmithTranslatableMessage.INPUT_STRING_REQUIRED);
|
||||
|
Reference in New Issue
Block a user