diff --git a/Core/src/main/java/com/craftaro/core/locale/Message.java b/Core/src/main/java/com/craftaro/core/locale/Message.java index 63f89ce3..fdc206a2 100644 --- a/Core/src/main/java/com/craftaro/core/locale/Message.java +++ b/Core/src/main/java/com/craftaro/core/locale/Message.java @@ -138,8 +138,11 @@ public Component getMessage() { * @return the message */ public List getMessageLines() { - //return Arrays.asList(ChatColor.translateAlternateColorCodes('&', this.message.toText()).split("[\n|]")); - return AdventureUtils.splitComponent(this.message, '\n'); + return getMessageLines('\n'); + } + + public List getMessageLines(char splitChar) { + return AdventureUtils.splitComponent(this.message, splitChar); } /**