From f6425d9b9e58b9507fcbd37e58e5664efc4f8844 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 1 Mar 2016 21:07:22 +0000 Subject: [PATCH] Deprecate HorseJumpEvent's setPower and setCancelled methods By: Thinkofdeath --- .../main/java/org/bukkit/event/entity/HorseJumpEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/HorseJumpEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/HorseJumpEvent.java index fad2468d2c..21ebab6e5e 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/HorseJumpEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/HorseJumpEvent.java @@ -21,6 +21,10 @@ public class HorseJumpEvent extends EntityEvent implements Cancellable { return cancelled; } + /** + * @deprecated horse jumping was moved client side. + */ + @Deprecated public void setCancelled(boolean cancel) { cancelled = cancel; } @@ -62,7 +66,9 @@ public class HorseJumpEvent extends EntityEvent implements Cancellable { * event will result in no jump animation at all. * * @param power power of the jump + * @deprecated horse jumping was moved client side. */ + @Deprecated public void setPower(float power) { this.power = power; }