add missing annotation

This commit is contained in:
Jake Potrebic 2024-12-24 18:19:07 -08:00
parent 4d6a7d8aa0
commit 8c7d817594
No known key found for this signature in database
GPG key ID: 27CC63F7CBC866C7

View file

@ -30,7 +30,7 @@ public interface Art extends OldEnum<Art>, Keyed {
* @return the created painting variant
*/
@ApiStatus.Experimental
static @NotNull Art create(final Consumer<RegistryBuilderFactory<Art, ? extends PaintingVariantRegistryEntry.Builder>> value) {
static @NotNull Art create(final @NotNull Consumer<RegistryBuilderFactory<Art, ? extends PaintingVariantRegistryEntry.Builder>> value) {
return InlinedRegistryBuilderProvider.instance().createPaintingVariant(value);
}