HypixelDev / PublicAPI

Official Java implementation of the Hypixel Public API.
https://api.hypixel.net
MIT License
533 stars 151 forks source link

KeyReply.Key#getOwnerUuid returns null every time #266

Closed HydroPage closed 4 years ago

HydroPage commented 4 years ago

Pretty self explanatory. HypixelAPI#getKey().get().getRecord().getOwnerUuid() returns null each and every time I attempt it. I'm using CompletableFuture#get() as a test, but each resolution method proves to yield the same result. I manually pasted api.hypixel.net/key?key=(the target key) into my browser, and the owner UUID showed up in the raw JSON

HydroPage commented 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

TheNullicorn commented 4 years ago

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.

HydroPage commented 4 years ago

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 .