geforkt von Mirrors/Paper
Deprecate HorseJumpEvent's setPower and setCancelled methods
By: Thinkofdeath <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
Ursprung
a713b811ed
Commit
f6425d9b9e
@ -21,6 +21,10 @@ public class HorseJumpEvent extends EntityEvent implements Cancellable {
|
|||||||
return cancelled;
|
return cancelled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated horse jumping was moved client side.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public void setCancelled(boolean cancel) {
|
public void setCancelled(boolean cancel) {
|
||||||
cancelled = cancel;
|
cancelled = cancel;
|
||||||
}
|
}
|
||||||
@ -62,7 +66,9 @@ public class HorseJumpEvent extends EntityEvent implements Cancellable {
|
|||||||
* event will result in no jump animation at all.
|
* event will result in no jump animation at all.
|
||||||
*
|
*
|
||||||
* @param power power of the jump
|
* @param power power of the jump
|
||||||
|
* @deprecated horse jumping was moved client side.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public void setPower(float power) {
|
public void setPower(float power) {
|
||||||
this.power = power;
|
this.power = power;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren