mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 15:16:41 +01:00
Allow color codes and tags in objective-overrides, fixes #1047
This commit is contained in:
parent
a910247fa3
commit
9306119d5d
@ -663,7 +663,9 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
}
|
||||
if (!ignoreOverrides) {
|
||||
if (quester.getCurrentStage(quest).objectiveOverride != null) {
|
||||
String message = ChatColor.GREEN + quester.getCurrentStage(quest).objectiveOverride;
|
||||
String message = ChatColor.GREEN + ConfigUtil.parseString(ChatColor.GREEN
|
||||
+ ChatColor.translateAlternateColorCodes('&',
|
||||
quester.getCurrentStage(quest).objectiveOverride), quest, quester.getPlayer());
|
||||
if (depends.getPlaceholderApi() != null) {
|
||||
message = PlaceholderAPI.setPlaceholders(quester.getPlayer(), message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user