We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0508a7f commit 1054018Copy full SHA for 1054018
Core/src/main/java/com/plotsquared/core/plot/PlotTitle.java
@@ -63,4 +63,18 @@ public String subtitle() {
63
return subtitle;
64
}
65
66
+ /**
67
+ * Provides a string representation of this plot title value (used in placeholders).
68
+ *
69
+ * @return the plot title representation in the format {@code "<title>" "<subtitle>"}
70
+ * @since TODO
71
+ */
72
+ @Override
73
+ public String toString() {
74
+ return "\"%s\" \"%s\"".formatted(
75
+ this.title != null ? this.title : "",
76
+ this.subtitle != null ? this.subtitle : ""
77
+ );
78
+ }
79
+
80
0 commit comments