diff --git a/website/client/src/components/shops/buyModal.vue b/website/client/src/components/shops/buyModal.vue index e591f58fd4..1af3ebde0d 100644 --- a/website/client/src/components/shops/buyModal.vue +++ b/website/client/src/components/shops/buyModal.vue @@ -539,6 +539,7 @@ export default { const ownedPets = reduce(this.user.items.pets, (sum, petValue, petKey) => { if (petKey.includes(this.item.key) && petValue > 0 && !petKey.includes('JackOLantern') // Jack-O-Lantern has "Ghost" version + && !petKey.includes('RoyalPurple') // to avoid counting Royal Purple Gryphons for gryphon eggs ) return sum + 1; return sum; }, 0); @@ -546,6 +547,7 @@ export default { const ownedMounts = reduce(this.user.items.mounts, (sum, mountValue, mountKey) => { if (mountKey.includes(this.item.key) && mountValue === true && !mountKey.includes('JackOLantern') + && !mountKey.includes('RoyalPurple') ) return sum + 1; return sum; }, 0);