Hi folks,
This update makes InvSee++ compatible with CraftBukkit 1.21.6.
This release has a minor version bump because of the addition of animal armour and saddle slots to player inventories (yes, really, I am not kidding).
To support these inventory slots, the slots with numbers 41 and 42 will be used to represent the respective items. The cursor slot has been moved to number 43.
The default inventory mirror has been updated to reflect this change.
For developers making use of the API:
- The PlayerInventorySlot enum has been expanded to include the new BODY and SADDLE slots.
- The array returned by
MainSpectatorInventory#getOffHandContents() now will include the 'body' and 'saddle' items when running on CraftBukkit 1.21.6.
- The method
MainSpectatorInventory#setOffHandContents(ItemStack[]) will now always require an itemstack array of length 3, when running on CraftBukkit 1.21.6.
Cheers!