mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 00:17:58 +01:00
Fix ColoredText#toString
This commit is contained in:
parent
8499a2ceeb
commit
4c77c99442
@ -96,13 +96,12 @@ public class ColoredText {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
if (updated) {
|
if (!updated) {
|
||||||
return compiledJson;
|
this.compiledJson = getJsonObject().toString();
|
||||||
|
this.updated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.compiledJson = getJsonObject().toString();
|
return compiledJson;
|
||||||
this.updated = true;
|
|
||||||
return getJsonObject().toString();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user