aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/commands/GuildOfCommand.java
diff options
context:
space:
mode:
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;
}
}