aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2020-09-27 22:40:47 +0200
committerCow <cow@volloeko.de>2020-09-27 22:40:47 +0200
commitf5b35b7a064fa8c144c2ddcb5f94a4790398506d (patch)
tree5042f3c5e8f447e4f1bd94980317a1ae4d400897
parentdba1ec3e7885c86e16283d149d088369ecc509fd (diff)
downloadCowlection-f5b35b7a064fa8c144c2ddcb5f94a4790398506d.tar.gz
Cowlection-f5b35b7a064fa8c144c2ddcb5f94a4790398506d.tar.bz2
Cowlection-f5b35b7a064fa8c144c2ddcb5f94a4790398506d.zip
`/moo stalkskyblock`: Show purse value if bank API access is disabled
-rw-r--r--src/main/java/de/cowtipper/cowlection/command/MooCommand.java2
1 files changed, 1 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 811254b..a2a3c0a 100644
--- a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
+++ b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
@@ -369,7 +369,7 @@ public class MooCommand extends CommandBase {
// output inspired by /profiles hover
// coins:
- String coinsBankAndPurse = (activeProfile.getCoinBank() >= 0) ? Utils.formatNumberWithAbbreviations(activeProfile.getCoinBank() + member.getCoinPurse()) : "API access disabled";
+ String coinsBankAndPurse = (activeProfile.getCoinBank() >= 0) ? Utils.formatNumberWithAbbreviations(activeProfile.getCoinBank() + member.getCoinPurse()) : Utils.formatNumberWithAbbreviations(member.getCoinPurse()) + " - purse only, bank API access disabled";
Pair<String, String> fancyFirstJoined = member.getFancyFirstJoined();
MooChatComponent wealthHover = new MooChatComponent("Accessible coins:").gold()