mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 04:25:15 +01:00
Make sure that the chat format contains jobs variable
This commit is contained in:
parent
b7dbd08d83
commit
cf55d7fbd7
@ -62,6 +62,9 @@ public class JobsChatEvent implements Listener {
|
||||
if (honorific.equals(" "))
|
||||
honorific = "";
|
||||
|
||||
event.setFormat(event.getFormat().replace("{jobs}", honorific));
|
||||
String format = event.getFormat();
|
||||
if (format.contains("{jobs}")) {
|
||||
event.setFormat(format.replace("{jobs}", honorific));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user