diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-08-25 00:18:42 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-08-25 00:18:42 -0400 |
commit | ece7f3de65618ee89f86513e4d8307a97c20f012 (patch) | |
tree | 992cdb04e51d996ca9cec2a0aecc7ecf7e7361c2 /src/main/java/me/Danker/commands/SkyblockPlayersCommand.java | |
parent | 4c11aaf6d16940fb02cf14fb97bb76477912dd8f (diff) | |
download | SkyblockMod-ece7f3de65618ee89f86513e4d8307a97c20f012.tar.gz SkyblockMod-ece7f3de65618ee89f86513e4d8307a97c20f012.tar.bz2 SkyblockMod-ece7f3de65618ee89f86513e4d8307a97c20f012.zip |
Add pet background (temporary) colours and fix Jerry Workshop /sbplayers
Colours are temporary, will be changed in a future commit.
Diffstat (limited to 'src/main/java/me/Danker/commands/SkyblockPlayersCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/SkyblockPlayersCommand.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/me/Danker/commands/SkyblockPlayersCommand.java b/src/main/java/me/Danker/commands/SkyblockPlayersCommand.java index 98afa28..ee3c522 100644 --- a/src/main/java/me/Danker/commands/SkyblockPlayersCommand.java +++ b/src/main/java/me/Danker/commands/SkyblockPlayersCommand.java @@ -78,7 +78,7 @@ public class SkyblockPlayersCommand extends CommandBase { int dungeonsHub = 0; // dungeon_hub int dungeons = 0; // dungeon int darkAuction = 0; // dark_auction - int jerry = 0; + int jerry = 0; // winter if (playersResponse.get("games").getAsJsonObject().get("SKYBLOCK").getAsJsonObject().has("modes")) { JsonObject skyblockPlayers = playersResponse.get("games").getAsJsonObject().get("SKYBLOCK").getAsJsonObject().get("modes").getAsJsonObject(); skyblockTotalPlayers = playersResponse.get("games").getAsJsonObject().get("SKYBLOCK").getAsJsonObject().get("players").getAsInt(); @@ -121,9 +121,8 @@ public class SkyblockPlayersCommand extends CommandBase { if (skyblockPlayers.has("dark_auction")) { darkAuction = skyblockPlayers.get("dark_auction").getAsInt(); } - // Placeholder value until Jerry Workshop opens - if (skyblockPlayers.has("jerry")) { - jerry = skyblockPlayers.get("jerry").getAsInt(); + if (skyblockPlayers.has("winter")) { + jerry = skyblockPlayers.get("winter").getAsInt(); } } |