mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
Remove draft status from PigZombieAngerEvent and PlayerRiptideEvent
By: md_5 <git@md-5.net>
This commit is contained in:
parent
737078e5bd
commit
c0704c928f
2 changed files with 1 additions and 11 deletions
|
@ -1,6 +1,5 @@
|
|||
package org.bukkit.event.entity;
|
||||
|
||||
import org.bukkit.Warning;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.PigZombie;
|
||||
import org.bukkit.event.Cancellable;
|
||||
|
@ -10,11 +9,7 @@ import org.bukkit.event.HandlerList;
|
|||
* Called when a Pig Zombie is angered by another entity.
|
||||
* <p>
|
||||
* If the event is cancelled, the pig zombie will not be angered.
|
||||
*
|
||||
* @deprecated draft API
|
||||
*/
|
||||
@Deprecated
|
||||
@Warning(false)
|
||||
public class PigZombieAngerEvent extends EntityEvent implements Cancellable {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package org.bukkit.event.player;
|
||||
|
||||
import org.bukkit.Warning;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.HandlerList;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
@ -10,12 +9,8 @@ import org.bukkit.inventory.ItemStack;
|
|||
* their trident to propel them through the air.
|
||||
* <br>
|
||||
* N.B. the riptide action is currently performed client side, so manipulating
|
||||
* the player in this event may have undesired effects
|
||||
*
|
||||
* @deprecated draft API
|
||||
* the player in this event may have undesired effects.
|
||||
*/
|
||||
@Deprecated
|
||||
@Warning(false)
|
||||
public class PlayerRiptideEvent extends PlayerEvent {
|
||||
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
|
Loading…
Reference in a new issue