diff options
author | Lulu13022002 <[email protected]> | 2022-10-13 13:52:04 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-13 13:52:04 +0200 |
commit | 0bdf9973cdc7bf63924008c36ff72b80be4f716e (patch) | |
tree | e4b4e93590d70a8304387b531aa705220639adcc | |
parent | 20940114856394bdfb4b3a80222e2d5de7d7b947 (diff) | |
download | Paper-0bdf9973cdc7bf63924008c36ff72b80be4f716e.tar.gz Paper-0bdf9973cdc7bf63924008c36ff72b80be4f716e.zip |
Avoid cycle deprecation (#8466)
-rw-r--r-- | patches/api/0311-Missing-Entity-Behavior-API.patch | 5 |
1 files 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 77c9e6677d..ebb6cd2190 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 <[email protected]> Co-authored-by: William Blake Galbreath <[email protected]> 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 + * <p>When true, the horse will lower its neck.</p> + * + * @param eating eating grass animation is active -+ * @deprecated use {@link #setEatingHaystack(boolean)} + */ + public void setEatingGrass(boolean eating); + |