aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2023-07-16 13:31:20 +0200
committerCow <cow@volloeko.de>2023-07-16 13:31:20 +0200
commite6fda2edb243df9b95ce062ac65e088ab40d5dfd (patch)
tree821d82c5d2a52ec6b1327a80f5f402998d84e76d /src/main/java/de/cowtipper/cowlection/command/MooCommand.java
parent927da68630bb651dd39294cd88e79557fae6bfc6 (diff)
downloadCowlection-e6fda2edb243df9b95ce062ac65e088ab40d5dfd.tar.gz
Cowlection-e6fda2edb243df9b95ce062ac65e088ab40d5dfd.tar.bz2
Cowlection-e6fda2edb243df9b95ce062ac65e088ab40d5dfd.zip
Removed 'last profile save' from player lookup
Corresponding API field was removed https://github.com/HypixelDev/PublicAPI/issues/596
Diffstat (limited to 'src/main/java/de/cowtipper/cowlection/command/MooCommand.java')
-rw-r--r--src/main/java/de/cowtipper/cowlection/command/MooCommand.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
index 6debc4e..9c950b6 100644
--- a/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
+++ b/src/main/java/de/cowtipper/cowlection/command/MooCommand.java
@@ -618,10 +618,6 @@ public class MooCommand extends CommandBase {
sbStats.appendFreshSibling(new MooChatComponent.KeyValueChatComponent("Fairy Souls", (member.getFairySoulsCollected() >= 0) ? String.valueOf(member.getFairySoulsCollected()) : "API access disabled"));
// profile age:
sbStats.appendFreshSibling(new MooChatComponent.KeyValueChatComponent("Profile age", fancyFirstJoined.first()).setHover(new MooChatComponent.KeyValueTooltipComponent("Join date", (fancyFirstJoined.second() == null ? "today" : fancyFirstJoined.second()))));
- // last save:
- Pair<String, String> fancyLastSave = activeProfile.getFancyLastSave();
- sbStats.appendFreshSibling(new MooChatComponent.KeyValueChatComponent("Last profile save", fancyLastSave != null ? fancyLastSave.first() + " ago" : "unknown").setHover(new MooChatComponent.KeyValueTooltipComponent("Last profile save", fancyLastSave != null ? (fancyLastSave.second() == null ? "today" : fancyLastSave.second()) : "unknown")
- .appendFreshSibling(new MooChatComponent("= last time " + (activeProfile.coopCount() == 0 ? stalkedPlayer.getName() : EnumChatFormatting.RED + "someone from " + stalkedPlayer.getName() + "'s profile" + EnumChatFormatting.WHITE) + " has played SkyBlock.").white())));
main.getChatHelper().sendMessage(sbStats);
} else {