From 0c2680730d17b8b2d733ffa359c5f21d40bfdce0 Mon Sep 17 00:00:00 2001 From: "Shane A. Jeffery" <69131241+shaneajeffery@users.noreply.github.com> Date: Tue, 16 Apr 2024 05:22:31 -0700 Subject: [PATCH] Adding Missing ID for Creature Displays (#71) * Adding ID * Added it for mounts as well --- wowcgd/creature.go | 1 + wowgd/mount.go | 1 + 2 files changed, 2 insertions(+) diff --git a/wowcgd/creature.go b/wowcgd/creature.go index c9a0f5d..bd13e02 100644 --- a/wowcgd/creature.go +++ b/wowcgd/creature.go @@ -87,6 +87,7 @@ type Creature struct { Key struct { Href string `json:"href"` } `json:"key"` + ID int `json:"id"` } `json:"creature_displays"` IsTameable bool `json:"is_tameable"` } diff --git a/wowgd/mount.go b/wowgd/mount.go index b1ae0be..ed121b1 100644 --- a/wowgd/mount.go +++ b/wowgd/mount.go @@ -29,6 +29,7 @@ type Mount struct { Key struct { Href string `json:"href"` } `json:"key"` + ID int `json:"id"` } `json:"creature_displays"` Description string `json:"description"` Source struct {