aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2021-05-30 18:35:30 +0200
committerCow <cow@volloeko.de>2021-05-30 18:35:30 +0200
commit16b5aeb4647b13d49b8d679a417bdbc0b4ff6aba (patch)
tree31b104ad630d8c59d3e2469911148c42e45b2c6a /src/main/java/de/cowtipper/cowlection/command/MooCommand.java
parenteda29b2feb5defec7a4772b2640dbe4bf241c93d (diff)
downloadCowlection-16b5aeb4647b13d49b8d679a417bdbc0b4ff6aba.tar.gz
Cowlection-16b5aeb4647b13d49b8d679a417bdbc0b4ff6aba.tar.bz2
Cowlection-16b5aeb4647b13d49b8d679a417bdbc0b4ff6aba.zip
(Dungeons) player lookups additions
- added ironman icon ♲ - added average secrets per completion
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/command/MooCommand.java')
-rw-r--r--src/main/java/de/cowtipper/cowlection/command/MooCommand.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
index 7deec61..6e5cc0e 100644
--- a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
+++ b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
@@ -467,7 +467,8 @@ public class MooCommand extends CommandBase {
wealthHover.appendFreshSibling(new MooChatComponent.KeyValueTooltipComponent("Co-ops' purses sum", Utils.formatNumberWithAbbreviations(activeProfile.getCoopCoinPurses(stalkedPlayer.getUuid()))));
}
- MooChatComponent sbStats = new MooChatComponent("SkyBlock stats of " + stalkedPlayer.getName() + " (" + activeProfile.getCuteName() + ")").gold().bold().setUrl("https://sky.shiiyu.moe/stats/" + stalkedPlayer.getName() + "/" + activeProfile.getCuteName(), "Click to view SkyBlock stats on sky.shiiyu.moe")
+ String gameModeIcon = activeProfile.getGameModeIcon();
+ MooChatComponent sbStats = new MooChatComponent("SkyBlock stats of " + stalkedPlayer.getName() + EnumChatFormatting.RESET + EnumChatFormatting.GRAY + " (" + (gameModeIcon.isEmpty() ? "" : EnumChatFormatting.getTextWithoutFormattingCodes(gameModeIcon) + ", ") + activeProfile.getCuteName() + ")").gold().bold().setUrl("https://sky.shiiyu.moe/stats/" + stalkedPlayer.getName() + "/" + activeProfile.getCuteName(), "Click to view SkyBlock stats on sky.shiiyu.moe")
.appendFreshSibling(new MooChatComponent.KeyValueChatComponent("Coins", coinsBankAndPurse).setHover(wealthHover));
// highest skill + skill average:
if (highestSkill != null) {