Fix ColoredText#toString

This commit is contained in:
Felix Cravic 2020-07-31 19:19:32 +02:00
parent 8499a2ceeb
commit 4c77c99442

View File

@ -96,13 +96,12 @@ public class ColoredText {
*/
@Override
public String toString() {
if (updated) {
return compiledJson;
}
if (!updated) {
this.compiledJson = getJsonObject().toString();
this.updated = true;
return getJsonObject().toString();
}
return compiledJson;
}
/**