aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/PetsCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-09-12 22:16:26 -0400
committerbowser0000 <bowser0000@gmail.com>2020-09-12 22:16:26 -0400
commit0bbf2635b76352c241dcfe0f85c14e2e9a73405b (patch)
tree69ba48cc72ea1f7773638e2c6fd3f6c4774f72bc /src/main/java/me/Danker/commands/PetsCommand.java
parent274ebcc8062617aa3d5a59b9bec4de4484c7c01f (diff)
downloadSkyblockMod-0bbf2635b76352c241dcfe0f85c14e2e9a73405b.tar.gz
SkyblockMod-0bbf2635b76352c241dcfe0f85c14e2e9a73405b.tar.bz2
SkyblockMod-0bbf2635b76352c241dcfe0f85c14e2e9a73405b.zip
Add amount of pets and guild members to commands
Diffstat (limited to 'src/main/java/me/Danker/commands/PetsCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/PetsCommand.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/commands/PetsCommand.java b/src/main/java/me/Danker/commands/PetsCommand.java
index c697689..2ad196e 100644
--- a/src/main/java/me/Danker/commands/PetsCommand.java
+++ b/src/main/java/me/Danker/commands/PetsCommand.java
@@ -159,8 +159,9 @@ public class PetsCommand extends CommandBase {
}
}
+ int totalPets = commonPets.size() + uncommonPets.size() + rarePets.size() + epicPets.size() + legendaryPets.size();
String finalMessage = EnumChatFormatting.AQUA + "" + EnumChatFormatting.BOLD + "-------------------\n" +
- EnumChatFormatting.AQUA + " " + username + "'s Pets:\n";
+ EnumChatFormatting.AQUA + " " + username + "'s Pets (" + totalPets + "):\n";
// Loop through pet rarities
for (JsonObject legPet : legendaryPets) {