Remove draft status from PigZombieAngerEvent and PlayerRiptideEvent

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-08-16 09:23:41 +10:00
parent 737078e5bd
commit c0704c928f
2 changed files with 1 additions and 11 deletions

View file

@ -1,6 +1,5 @@
package org.bukkit.event.entity; package org.bukkit.event.entity;
import org.bukkit.Warning;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.entity.PigZombie; import org.bukkit.entity.PigZombie;
import org.bukkit.event.Cancellable; import org.bukkit.event.Cancellable;
@ -10,11 +9,7 @@ import org.bukkit.event.HandlerList;
* Called when a Pig Zombie is angered by another entity. * Called when a Pig Zombie is angered by another entity.
* <p> * <p>
* If the event is cancelled, the pig zombie will not be angered. * 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 { public class PigZombieAngerEvent extends EntityEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();

View file

@ -1,6 +1,5 @@
package org.bukkit.event.player; package org.bukkit.event.player;
import org.bukkit.Warning;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
@ -10,12 +9,8 @@ import org.bukkit.inventory.ItemStack;
* their trident to propel them through the air. * their trident to propel them through the air.
* <br> * <br>
* N.B. the riptide action is currently performed client side, so manipulating * N.B. the riptide action is currently performed client side, so manipulating
* the player in this event may have undesired effects * the player in this event may have undesired effects.
*
* @deprecated draft API
*/ */
@Deprecated
@Warning(false)
public class PlayerRiptideEvent extends PlayerEvent { public class PlayerRiptideEvent extends PlayerEvent {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();