diff --git a/Spigot-API-Patches/Add-API-methods-to-control-if-armour-stands-can-move.patch b/Spigot-API-Patches/Add-API-methods-to-control-if-armour-stands-can-move.patch index d4d1498534..3a868b99c3 100644 --- a/Spigot-API-Patches/Add-API-methods-to-control-if-armour-stands-can-move.patch +++ b/Spigot-API-Patches/Add-API-methods-to-control-if-armour-stands-can-move.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Add API methods to control if armour stands can move diff --git a/src/main/java/org/bukkit/entity/ArmorStand.java b/src/main/java/org/bukkit/entity/ArmorStand.java -index d04e52fb..387d04e5 100644 +index beeba55d..6a854d7c 100644 --- a/src/main/java/org/bukkit/entity/ArmorStand.java +++ b/src/main/java/org/bukkit/entity/ArmorStand.java @@ -0,0 +0,0 @@ public interface ArmorStand extends LivingEntity { diff --git a/Spigot-API-Patches/Allow-disabling-armour-stand-ticking.patch b/Spigot-API-Patches/Allow-disabling-armour-stand-ticking.patch index 5d77d1bf95..415163bd0b 100644 --- a/Spigot-API-Patches/Allow-disabling-armour-stand-ticking.patch +++ b/Spigot-API-Patches/Allow-disabling-armour-stand-ticking.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Allow disabling armour stand ticking diff --git a/src/main/java/org/bukkit/entity/ArmorStand.java b/src/main/java/org/bukkit/entity/ArmorStand.java -index 387d04e5..492df420 100644 +index 6a854d7c..c8c08f1f 100644 --- a/src/main/java/org/bukkit/entity/ArmorStand.java +++ b/src/main/java/org/bukkit/entity/ArmorStand.java @@ -0,0 +0,0 @@ public interface ArmorStand extends LivingEntity { diff --git a/Spigot-API-Patches/Expand-ArmorStand-API.patch b/Spigot-API-Patches/Expand-ArmorStand-API.patch index bb563b4e14..1945d23468 100644 --- a/Spigot-API-Patches/Expand-ArmorStand-API.patch +++ b/Spigot-API-Patches/Expand-ArmorStand-API.patch @@ -8,43 +8,35 @@ Add the following: - Enable/Disable slot interactions diff --git a/src/main/java/org/bukkit/entity/ArmorStand.java b/src/main/java/org/bukkit/entity/ArmorStand.java -index 492df420..e7f71e65 100644 +index c8c08f1f..af70bac7 100644 --- a/src/main/java/org/bukkit/entity/ArmorStand.java +++ b/src/main/java/org/bukkit/entity/ArmorStand.java @@ -0,0 +0,0 @@ package org.bukkit.entity; + import org.bukkit.inventory.EntityEquipment; +import org.bukkit.inventory.EquipmentSlot; import org.bukkit.inventory.ItemStack; import org.bukkit.util.EulerAngle; import org.jetbrains.annotations.NotNull; @@ -0,0 +0,0 @@ public interface ArmorStand extends LivingEntity { - * currently holding + * Returns the item the armor stand is currently holding. * * @return the held item -+ // Paper start - Deprecate in favor of setItemInMainHand -+ * @deprecated use {@link ArmorStand#getItem(EquipmentSlot)} instead -+ * @see ArmorStand#getItem(EquipmentSlot) -+ // Paper end +- * @deprecated prefer {@link EntityEquipment#getItemInHand()} ++ * @deprecated prefer {@link ArmorStand#getItem(EquipmentSlot)} // Paper + * @see #getEquipment() */ @NotNull -+ @Deprecated // Paper - ItemStack getItemInHand(); - - /** @@ -0,0 +0,0 @@ public interface ArmorStand extends LivingEntity { - * holding * * @param item the item to hold -+ // Paper start - Deprecate in favor of setItemInMainHand -+ * @deprecated use {@link ArmorStand#setItem(EquipmentSlot, ItemStack)} instead -+ * @see ArmorStand#setItem(EquipmentSlot, ItemStack) -+ // Paper end + * @deprecated prefer +- * {@link EntityEquipment#setItemInHand(org.bukkit.inventory.ItemStack)} ++ * {@link ArmorStand#setItem(EquipmentSlot, ItemStack)} // Paper + * @see #getEquipment() */ -+ @Deprecated // Paper - void setItemInHand(@Nullable ItemStack item); - - /** + @Deprecated @@ -0,0 +0,0 @@ public interface ArmorStand extends LivingEntity { * @param tick {@code true} if this armour stand can tick, {@code false} otherwise */ diff --git a/work/Bukkit b/work/Bukkit index d6b23768ee..af40a28935 160000 --- a/work/Bukkit +++ b/work/Bukkit @@ -1 +1 @@ -Subproject commit d6b23768eeefee2861cd0492e24f0d699e4389f1 +Subproject commit af40a2893510c9e208dd0a26f504733a4a410f45