From f80a8178ff92b480a0554ed569519576fe64dd14 Mon Sep 17 00:00:00 2001 From: Thijs Wiefferink Date: Sat, 13 Aug 2016 22:28:15 +0200 Subject: [PATCH] Fix formatting not clearing on new lines --- .../java/me/wiefferink/areashop/messages/FancyMessageFormat.java | 1 + 1 file changed, 1 insertion(+) diff --git a/AreaShop/src/main/java/me/wiefferink/areashop/messages/FancyMessageFormat.java b/AreaShop/src/main/java/me/wiefferink/areashop/messages/FancyMessageFormat.java index 5ba8e0a..d1035a2 100644 --- a/AreaShop/src/main/java/me/wiefferink/areashop/messages/FancyMessageFormat.java +++ b/AreaShop/src/main/java/me/wiefferink/areashop/messages/FancyMessageFormat.java @@ -318,6 +318,7 @@ public class FancyMessageFormat { if(!targetList.isEmpty()) { targetList.getLast().text += '\n'; } + currentLineFormatting.clear(); continue lineLoop; } else if(tag == ControlTag.RESET) { currentLineFormatting.clear();