mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
Fix Multiple Dialog Quest Formatting
This commit is contained in:
1 parent
47dcc62d4f
commit
53adae1390
1 file changed
+7
-4
@@ -144,10 +144,13 @@ public class QuestDialog extends QuestInterface implements IQuestDialog {
|
||||
}
|
||||
vec.add(title);
|
||||
|
||||
if(!unread.isEmpty()){
|
||||
StringBuilder unreaders = new StringBuilder("> ");
|
||||
for(String name : unread){
|
||||
unreaders.append(" ").append(name);
|
||||
if (!unread.isEmpty()) {
|
||||
StringBuilder unreaders = new StringBuilder();
|
||||
for (String name : unread) {
|
||||
if (unreaders.length() > 0) {
|
||||
unreaders.append(", ");
|
||||
}
|
||||
unreaders.append(name);
|
||||
}
|
||||
vec.add(unreaders.toString());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user