Fixes some minor issues

Fixes some repositories using http instead of https
Fixes formatting for tables
This commit is contained in:
2022-11-14 02:44:18 +01:00
parent a036c39dc3
commit 5089a721a0
4 changed files with 50 additions and 50 deletions

View File

@ -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);