Skip to content

Commit 67a5327

Browse files
committed
Add nullability annotations to CustomRecipeChoice
1 parent ad213c8 commit 67a5327

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package io.github.kiber2009.plugin.contentapi.api.recipe.choice;
22

33
import org.bukkit.inventory.ItemStack;
4+
import org.jspecify.annotations.Nullable;
45

56
public interface CustomRecipeChoice {
6-
boolean test(final ItemStack stack);
7+
boolean test(final @Nullable ItemStack stack);
78
}

0 commit comments

Comments
 (0)