summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-16 09:23:41 +1000
committermd_5 <git@md-5.net>2018-08-16 09:23:41 +1000
commitb7af60cc8e7164c26d307898d955fd12d21d6ff8 (patch)
treee547ae97891ec42c8ef91f52aa69495e76509f44
parent7ba8d63388f6263d052cac1b541ba12c795696c4 (diff)
downloadbukkit-b7af60cc8e7164c26d307898d955fd12d21d6ff8.tar
bukkit-b7af60cc8e7164c26d307898d955fd12d21d6ff8.tar.gz
bukkit-b7af60cc8e7164c26d307898d955fd12d21d6ff8.tar.lz
bukkit-b7af60cc8e7164c26d307898d955fd12d21d6ff8.tar.xz
bukkit-b7af60cc8e7164c26d307898d955fd12d21d6ff8.zip
Remove draft status from PigZombieAngerEvent and PlayerRiptideEvent
-rw-r--r--src/main/java/org/bukkit/event/entity/PigZombieAngerEvent.java5
-rw-r--r--src/main/java/org/bukkit/event/player/PlayerRiptideEvent.java7
2 files changed, 1 insertions, 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.
* <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();
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.
* <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();