-
Bug
-
Resolution: Awaiting Response
-
None
-
Minecraft 1.12.2, 20w07a
-
None
-
Confirmed
-
(Unassigned)
ProfileSearchResultsResponse deserializator has check for error and it fills error, if it present. That filling process fills only one error field, while there is 3 fields.
if (object.has("error")) { result.setError(object.getAsJsonPrimitive("error").getAsString()); } if (object.has("errorMessage")) { result.setError(object.getAsJsonPrimitive("errorMessage").getAsString()); } if (object.has("cause")) { result.setError(object.getAsJsonPrimitive("cause").getAsString()); }
while it must be setError setErrorMessage and setCause