[SPIGOT-2911] Donkey/Zombie/Undead horses Saddle API Created: 10/Dec/16 Updated: 27/Jan/18 Resolved: 27/Jan/18 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Daniel Ennis | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 3 |
Labels: | None |
Description |
Donkey, Zombie and Undead Horses Inventories are rightfully not HorseInventory's.
This means you are unable to give these 3 types Saddles as of 1.11 as the Saddle API is related to the same Armored Inventory
We need Saddle and Armor API's broken into alternate componenents My current fix is here: https://github.com/starlis/empirecraft/commit/6d535d3175a8b610e11bd62f9865b1e3e14ab0ad
|
Comments |
Comment by Erik Zeiger [ 27/Jan/18 ] |
Just ran into this myself with API version 1.12.2-R0.1. Getting/setting slot 0 works, but that falls into magic number territory and isn't clear in code. |
Comment by Daniel Ennis [ 10/Dec/16 ] |
And I consider this a bug as the API supported this in the past, and it is now a regression. |
Comment by Daniel Ennis [ 10/Dec/16 ] |
That's fine, I'm just showing you an idea for you to implement for when you do it, to save some time brainstorming an impl. |
Comment by md_5 [ 10/Dec/16 ] |
Changes must be submitted via pull requests |