Commits

md_5 authored fe18cbabd8d
Make it clear that llamas should not have saddles
No tags

src/main/java/org/bukkit/inventory/AbstractHorseInventory.java

Modified
5 5
6 6 /**
7 7 * An interface to the inventory of an {@link AbstractHorse}.
8 8 */
9 9 public interface AbstractHorseInventory extends Inventory {
10 10
11 11 /**
12 12 * Gets the item in the horse's saddle slot.
13 13 *
14 14 * @return the saddle item
15 + * @deprecated llama's cannot have saddles
15 16 */
16 17 @Nullable
18 + @Deprecated(since = "1.21.5")
17 19 ItemStack getSaddle();
18 20
19 21 /**
20 22 * Sets the item in the horse's saddle slot.
21 23 *
22 24 * @param stack the new item
25 + * @deprecated llama's cannot have saddles
23 26 */
27 + @Deprecated(since = "1.21.5")
24 28 void setSaddle(@Nullable ItemStack stack);
25 29 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut