feat: add notice concerning the api
This commit is contained in:
parent
1a169f7709
commit
e91d618dd6
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ public class MojangAPI {
|
|||
|
||||
switch (connection.getResponseCode()) {
|
||||
case 403:
|
||||
logger.warning("Failed to parse request: forbidden?");
|
||||
logger.warning("The Mojang API denied the request. This should not happen.");
|
||||
logger.warning("Nicko is NOT responsible for this error. Try again in a few minutes or hours.");
|
||||
logger.warning("See https://bugs.mojang.com/browse/WEB/issues/WEB-7591 for more info.");
|
||||
return getErrorObject();
|
||||
case 404:
|
||||
case 400:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue