diff --git a/MMOCore-API/pom.xml b/MMOCore-API/pom.xml index 8630e6f9..b6f8e77e 100644 --- a/MMOCore-API/pom.xml +++ b/MMOCore-API/pom.xml @@ -147,7 +147,7 @@ fr.phoenixdevt Profile-API - 1.1-SNAPSHOT + 1.1 provided true diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/ConfigMessage.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/ConfigMessage.java index 59748d19..466a659e 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/ConfigMessage.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/ConfigMessage.java @@ -49,16 +49,16 @@ public class ConfigMessage { } /** - * Useful for things like indicators or specific lore lines which are - * string tags not requiring more than one string object. If the - * message is empty, an error string is returned. Either way, - * the returned value is non null for better user feedback. + * Useful for things like indicators or specific lore lines + * which are string tags not requiring more than one string + * object. An empty return value is accepted as some features + * do require the ability to fully remove text. * * @return First line of message, if it exists. */ @NotNull public String asLine() { - return lines.isEmpty() ? "" : lines.get(0); + return lines.isEmpty() ? "" : lines.get(0); } @NotNull