diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2016-03-01 21:07:22 +0000 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2016-03-01 21:07:22 +0000 |
commit | ad385cd3f6e3ab9911cfb51683ea9c4dc9cff523 (patch) | |
tree | e672fc5afdbf31ecacb5aa527628d137fd7a40f8 /src/main | |
parent | aa1347ae6a91e0fcb2d5762b7c5881c9bf685508 (diff) | |
download | bukkit-ad385cd3f6e3ab9911cfb51683ea9c4dc9cff523.tar bukkit-ad385cd3f6e3ab9911cfb51683ea9c4dc9cff523.tar.gz bukkit-ad385cd3f6e3ab9911cfb51683ea9c4dc9cff523.tar.lz bukkit-ad385cd3f6e3ab9911cfb51683ea9c4dc9cff523.tar.xz bukkit-ad385cd3f6e3ab9911cfb51683ea9c4dc9cff523.zip |
Deprecate HorseJumpEvent's setPower and setCancelled methods
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/HorseJumpEvent.java | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |