mirror of
https://github.com/darksaid98/nightcore-spigot.git
synced 2026-12-01 14:38:47 +00:00
v2.7.2
This commit is contained in:
1 parent
d0999762d2
commit
5a13e98744
1 file changed
+2
-1
@@ -47,9 +47,10 @@ public class LangMessage {
|
||||
|
||||
@NotNull
|
||||
public LangMessage setPrefix(@Nullable String prefix) {
|
||||
boolean init = this.message == null;
|
||||
this.message = NightMessage.from(prefix == null || !options.hasPrefix() ? defaultText : prefix + defaultText);
|
||||
|
||||
if (this.options.getOutputType() != OutputType.TITLES) {
|
||||
if (init && this.options.getOutputType() != OutputType.TITLES) {
|
||||
this.message.compile();
|
||||
}
|
||||
return this;
|
||||
|
||||
Reference in new issue
Block a user