Closed HydroPage closed 4 years ago
By the way, I just forked the repository and made a Main
class to test with. I can confirm the problem is not my version, since the latest version of the repository returned null
as well
At some point the "ownerUuid" field was renamed to "owner", but the change never got made in the Java API. I just opened a pr to fix this.
If I was the one to point this out to you, I’m glad to have been of assistance
On Sat, Jun 20, 2020 at 3:00 PM Nullicorn notifications@github.com wrote:
At some point the "ownerUuid" field was renamed to "owner", but the change never got made in the Java API. I just opened a pr to fix this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HypixelDev/PublicAPI/issues/266#issuecomment-647039458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHQUR4UGHIE6RWK3IRA5GILRXUIMHANCNFSM4ODPWZSA .
Pretty self explanatory.
HypixelAPI#getKey().get().getRecord().getOwnerUuid()
returnsnull
each and every time I attempt it. I'm usingCompletableFuture#get()
as a test, but each resolution method proves to yield the same result. I manually pastedapi.hypixel.net/key?key=(the target key)
into my browser, and the owner UUID showed up in the raw JSON