aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/ComponentBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/ComponentBuilder.java')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/ComponentBuilder.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/ComponentBuilder.java b/src/main/java/com/thatgravyboat/skyblockhud/ComponentBuilder.java
index 28c5485..b0c17be 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/ComponentBuilder.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/ComponentBuilder.java
@@ -21,12 +21,7 @@ public class ComponentBuilder {
}
public ComponentBuilder apd(String text, char color) {
- builder
- .append("\u00A7")
- .append(color)
- .append(text)
- .append("\u00A7")
- .append('r');
+ builder.append("\u00A7").append(color).append(text).append("\u00A7").append('r');
return this;
}