From f76bf27f7ffb528eb8b3a6d292c0819a7af276cd Mon Sep 17 00:00:00 2001 From: SoSeDiK Date: Wed, 1 May 2024 11:17:32 +0300 Subject: [PATCH] Include leather horse armor in leather armor meta's javadoc --- patches/api/0056-Fix-upstream-javadocs.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/patches/api/0056-Fix-upstream-javadocs.patch b/patches/api/0056-Fix-upstream-javadocs.patch index e671e3d8da..cb536157f6 100644 --- a/patches/api/0056-Fix-upstream-javadocs.patch +++ b/patches/api/0056-Fix-upstream-javadocs.patch @@ -1449,6 +1449,21 @@ index 18c2864c99d4dfae16cdb35143486aeebb9a6fd6..d66857825528ee772219440dffa28ad8 * {@link EquipmentSlot} will be returned. This is because * AttributeModifiers without a slot are active in any slot.
* If there are no attributes set for the given slot, an empty map +diff --git a/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java b/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java +index c1676991c3cc5f8d6e3f97d8cb356d6e2aa52809..4eadbcf766e69459c036a28f6e43523170558308 100644 +--- a/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java ++++ b/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java +@@ -8,8 +8,8 @@ import org.jetbrains.annotations.Nullable; + + /** + * Represents leather armor ({@link Material#LEATHER_BOOTS}, {@link +- * Material#LEATHER_CHESTPLATE}, {@link Material#LEATHER_HELMET}, or {@link +- * Material#LEATHER_LEGGINGS}) that can be colored. ++ * Material#LEATHER_LEGGINGS}, {@link Material#LEATHER_CHESTPLATE}, {@link ++ * Material#LEATHER_HELMET}, or {@link Material#LEATHER_HORSE_ARMOR}) that can be colored. + */ + public interface LeatherArmorMeta extends ItemMeta { + diff --git a/src/main/java/org/bukkit/scoreboard/Objective.java b/src/main/java/org/bukkit/scoreboard/Objective.java index 22b1dc5fd4d453161a5ee520072f8e8f955b3a80..a625bcab8e77b05b3341a52c708fae1542b7e3d5 100644 --- a/src/main/java/org/bukkit/scoreboard/Objective.java