From ad385cd3f6e3ab9911cfb51683ea9c4dc9cff523 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Tue, 1 Mar 2016 21:07:22 +0000 Subject: Deprecate HorseJumpEvent's setPower and setCancelled methods --- src/main/java/org/bukkit/event/entity/HorseJumpEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/main/java/org/bukkit/event/entity/HorseJumpEvent.java b/src/main/java/org/bukkit/event/entity/HorseJumpEvent.java index fad2468d..21ebab6e 100644 --- a/src/main/java/org/bukkit/event/entity/HorseJumpEvent.java +++ b/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; } -- cgit v1.2.3