diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-09-02 22:45:50 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-09-02 22:45:50 -0400 |
commit | 39741480a6321e49dd36f72b41d99478efe88184 (patch) | |
tree | 14b6eaa348c1347bd58309aad74b2d8f2bcb2505 /src/main/java/me/Danker/commands/GuildOfCommand.java | |
parent | aa78d52025faa74568ccdb3d299c0eb51f29aa90 (diff) | |
download | SkyblockMod-39741480a6321e49dd36f72b41d99478efe88184.tar.gz SkyblockMod-39741480a6321e49dd36f72b41d99478efe88184.tar.bz2 SkyblockMod-39741480a6321e49dd36f72b41d99478efe88184.zip |
Add /inventory command
Also add returns on API commands when API key is not set
Diffstat (limited to 'src/main/java/me/Danker/commands/GuildOfCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/GuildOfCommand.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/me/Danker/commands/GuildOfCommand.java b/src/main/java/me/Danker/commands/GuildOfCommand.java index e9ac8ba..a97196e 100644 --- a/src/main/java/me/Danker/commands/GuildOfCommand.java +++ b/src/main/java/me/Danker/commands/GuildOfCommand.java @@ -56,6 +56,7 @@ public class GuildOfCommand extends CommandBase { String key = ConfigHandler.getString("api", "APIKey"); if (key.equals("")) { player.addChatMessage(new ChatComponentText(DankersSkyblockMod.ERROR_COLOUR + "API key not set. Use /setkey.")); + return; } // Get UUID for Hypixel API requests |