From b7af60cc8e7164c26d307898d955fd12d21d6ff8 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 16 Aug 2018 09:23:41 +1000 Subject: Remove draft status from PigZombieAngerEvent and PlayerRiptideEvent --- src/main/java/org/bukkit/event/entity/PigZombieAngerEvent.java | 5 ----- src/main/java/org/bukkit/event/player/PlayerRiptideEvent.java | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/main/java/org/bukkit/event/entity/PigZombieAngerEvent.java b/src/main/java/org/bukkit/event/entity/PigZombieAngerEvent.java index 5ad8a2a4..7c96463f 100644 --- a/src/main/java/org/bukkit/event/entity/PigZombieAngerEvent.java +++ b/src/main/java/org/bukkit/event/entity/PigZombieAngerEvent.java @@ -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. *

* 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(); diff --git a/src/main/java/org/bukkit/event/player/PlayerRiptideEvent.java b/src/main/java/org/bukkit/event/player/PlayerRiptideEvent.java index 57f69c9e..2bfad901 100644 --- a/src/main/java/org/bukkit/event/player/PlayerRiptideEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerRiptideEvent.java @@ -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. *
* 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(); -- cgit v1.2.3