mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 01:37:35 +01:00
Deprecate HorseJumpEvent's setPower and setCancelled methods
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
a713b811ed
commit
f6425d9b9e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user