Skip to content

Commit

Permalink
Added a link to the discord when players haven't changed their API key
Browse files Browse the repository at this point in the history
+ Added a link to the discord to display in console when players haven't changed the API key option in their config.
  • Loading branch information
noahbclarkson committed Dec 23, 2020
1 parent bf694a7 commit ba4eba9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ public static void updatePricesforEnchantments(JSONObject json) throws ClientPro

public static boolean ghostCheckAPIKey() throws ClientProtocolException, IOException {
if (Config.getApiKey() == "xyz"){
Main.log("Please change your API key in the config.yml file");
Main.log("Please change your API key in the config.yml file. If you don't have an API key you can get one for free on our discord: https://discord.gg/bj2US6KuXW");
return false;
}
if (Config.getEmail() == "[email protected]"){
Main.log("Please change your Email in the config.yml file");
Main.log("Please change your email in the config.yml file to be the same email you used to sign up.");
return false;
}
else{
Expand Down

0 comments on commit ba4eba9

Please sign in to comment.