Add since to deprecation annotation

This commit is contained in:
md_5 2025-03-09 16:19:44 +11:00
parent b00ec19acf
commit d4da8b95ff
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -20,7 +20,7 @@ public class CrafterCraftEvent extends BlockEvent implements Cancellable {
private List<ItemStack> remainingItems;
private boolean cancelled;
@Deprecated
@Deprecated(since = "1.21.4")
public CrafterCraftEvent(@NotNull Block theBlock, @NotNull CraftingRecipe recipe, @NotNull ItemStack result) {
this(theBlock, recipe, result, new ArrayList<>());
}