From 0bdf9973cdc7bf63924008c36ff72b80be4f716e Mon Sep 17 00:00:00 2001 From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Date: Thu, 13 Oct 2022 13:52:04 +0200 Subject: [PATCH] Avoid cycle deprecation (#8466) --- patches/api/0311-Missing-Entity-Behavior-API.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/patches/api/0311-Missing-Entity-Behavior-API.patch b/patches/api/0311-Missing-Entity-Behavior-API.patch index 77c9e6677..ebb6cd219 100644 --- a/patches/api/0311-Missing-Entity-Behavior-API.patch +++ b/patches/api/0311-Missing-Entity-Behavior-API.patch @@ -8,10 +8,10 @@ Co-authored-by: Jake Potrebic Co-authored-by: William Blake Galbreath diff --git a/src/main/java/org/bukkit/entity/AbstractHorse.java b/src/main/java/org/bukkit/entity/AbstractHorse.java -index 0d88dce9978243a1f995c5fb448c5d71b01136eb..1c117ca4aebc2ff9e2f5458346fa0c090a0d7280 100644 +index 0d88dce9978243a1f995c5fb448c5d71b01136eb..8b1048c94dffd058eb9fd9144f7f59fc9bd219ad 100644 --- a/src/main/java/org/bukkit/entity/AbstractHorse.java +++ b/src/main/java/org/bukkit/entity/AbstractHorse.java -@@ -106,17 +106,72 @@ public interface AbstractHorse extends Vehicle, InventoryHolder, Tameable { +@@ -106,17 +106,71 @@ public interface AbstractHorse extends Vehicle, InventoryHolder, Tameable { * Gets whether the horse is currently grazing hay. * * @return true if eating hay @@ -47,7 +47,6 @@ index 0d88dce9978243a1f995c5fb448c5d71b01136eb..1c117ca4aebc2ff9e2f5458346fa0c09 + *

When true, the horse will lower its neck.

+ * + * @param eating eating grass animation is active -+ * @deprecated use {@link #setEatingHaystack(boolean)} + */ + public void setEatingGrass(boolean eating); +