From e68c5b27731e9c37b62e44f484ba99b203551cb5 Mon Sep 17 00:00:00 2001 From: BONNe Date: Wed, 23 Jan 2019 21:50:10 +0200 Subject: [PATCH] Fix issue, when top command was not displayed in Description. --- .../world/bentobox/challenges/panel/user/ChallengesGUI.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java b/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java index d9c54e6..575fe8d 100644 --- a/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java +++ b/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java @@ -424,6 +424,8 @@ public class ChallengesGUI extends CommonGUI result.addAll(this.challengeRewards(challenge)); } + result.replaceAll(x -> x.replace("[label]", this.topLabel)); + return result; }