aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/commands/GuildOfCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-07-22 19:03:37 -0400
committerbowser0000 <bowser0000@gmail.com>2020-07-22 19:03:37 -0400
commit70fd715a1fdb2bf01d130d27be0be89189072a26 (patch)
tree8d6cd7de32324bfd94794bfcee19b2223bf70730 /me/Danker/commands/GuildOfCommand.java
parent2f128b7995cded35f9b0ca41f5ef6fa70d633b7f (diff)
downloadSkyblockMod-70fd715a1fdb2bf01d130d27be0be89189072a26.tar.gz
SkyblockMod-70fd715a1fdb2bf01d130d27be0be89189072a26.tar.bz2
SkyblockMod-70fd715a1fdb2bf01d130d27be0be89189072a26.zip
Add /pets command
Not sorted by xp yet, will be fixed in another commit.
Diffstat (limited to 'me/Danker/commands/GuildOfCommand.java')
-rw-r--r--me/Danker/commands/GuildOfCommand.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/me/Danker/commands/GuildOfCommand.java b/me/Danker/commands/GuildOfCommand.java
index 20b759d..568c710 100644
--- a/me/Danker/commands/GuildOfCommand.java
+++ b/me/Danker/commands/GuildOfCommand.java
@@ -87,8 +87,7 @@ public class GuildOfCommand extends CommandBase {
String gmNameURL = "https://api.mojang.com/user/profiles/" + gmUUID + "/names";
JsonArray gmNameResponse = ah.getArrayResponse(gmNameURL);
- String gmName = gmNameResponse.get(gmNameResponse.size() - 1).getAsJsonObject().get("name").getAsString();
- guildMaster = gmName;
+ guildMaster = gmNameResponse.get(gmNameResponse.size() - 1).getAsJsonObject().get("name").getAsString();
break;
}
}