From 0bb28943597a74299e1980bc89081121d968c2e1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 27 Apr 2021 11:34:32 +1000 Subject: [PATCH] Remove old draft API tags By: md_5 --- .../main/java/org/bukkit/event/entity/EntityPlaceEvent.java | 5 ----- .../src/main/java/org/bukkit/inventory/RecipeChoice.java | 5 +---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/EntityPlaceEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/EntityPlaceEvent.java index 4d5a060473..ea8f9ed43d 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/EntityPlaceEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/EntityPlaceEvent.java @@ -1,6 +1,5 @@ package org.bukkit.event.entity; -import org.bukkit.Warning; import org.bukkit.block.Block; import org.bukkit.block.BlockFace; import org.bukkit.entity.Entity; @@ -16,11 +15,7 @@ import org.jetbrains.annotations.Nullable; *
* Note that this event is currently only fired for four specific placements: * armor stands, boats, minecarts, and end crystals. - * - * @deprecated draft API */ -@Deprecated -@Warning(false) public class EntityPlaceEvent extends EntityEvent implements Cancellable { private static final HandlerList handlers = new HandlerList(); diff --git a/paper-api/src/main/java/org/bukkit/inventory/RecipeChoice.java b/paper-api/src/main/java/org/bukkit/inventory/RecipeChoice.java index 3d325cab6b..90208bc960 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/RecipeChoice.java +++ b/paper-api/src/main/java/org/bukkit/inventory/RecipeChoice.java @@ -23,7 +23,7 @@ public interface RecipeChoice extends Predicate, Cloneable { * Gets a single item stack representative of this stack choice. * * @return a single representative item - * @deprecated for compatability only + * @deprecated for compatibility only */ @Deprecated @NotNull @@ -148,10 +148,7 @@ public interface RecipeChoice extends Predicate, Cloneable { * matched (aside from stack size). *
* Only valid for shaped recipes - * - * @deprecated draft API */ - @Deprecated public static class ExactChoice implements RecipeChoice { private List choices;