mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-29 06:06:05 +01:00
parent
8dd848ae16
commit
ea80add107
@ -71,7 +71,7 @@ public abstract class QuestsStringPrompt extends StringPrompt {
|
|||||||
for (int i = 0; i < list.size(); i++) {
|
for (int i = 0; i < list.size(); i++) {
|
||||||
final TextComponent questName = new TextComponent(list.get(i));
|
final TextComponent questName = new TextComponent(list.get(i));
|
||||||
questName.setColor(ChatColor.AQUA);
|
questName.setColor(ChatColor.AQUA);
|
||||||
questName.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, list.get(i)));
|
questName.setClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, ChatColor.stripColor(list.get(i))));
|
||||||
component.addExtra(questName);
|
component.addExtra(questName);
|
||||||
if (i < (list.size() - 1)) {
|
if (i < (list.size() - 1)) {
|
||||||
component.addExtra(separator);
|
component.addExtra(separator);
|
||||||
|
Loading…
Reference in New Issue
Block a user